0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-27 08:32:52 +00:00

Fix bug in iswitchb completion when the table is already a list

Reported by John Wiegley
This commit is contained in:
Carsten Dominik 2009-10-26 09:37:15 +01:00
parent fcd2ef541f
commit 1da2e348c4
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-icompleting-read): Make iswitchb completion work
with lists and tables.
* org-agenda.el (org-agenda-add-entry-text): Never add entry text
while pushing the mobile agenda.

View file

@ -7838,7 +7838,9 @@ from."
(boundp 'iswitchb-mode) iswitchb-mode
(listp (second args)))
(apply 'org-iswitchb-completing-read (concat (car args))
(mapcar (lambda (x) (car x)) (nth 1 args))
(if (consp (car (nth 1 args)))
(mapcar (lambda (x) (car x)) (nth 1 args))
(nth 1 args))
(cddr args))
(apply 'completing-read args)))))