Bugfix: org-ido-switchb

Chris Leyon writes:

>  For some semi-short time, org-ido-switchb has been broken, complaining
>  about wrong type arguments.  The attached one-line patch corrects
>  this.

Patch by Chris fixes this problem.
This commit is contained in:
Carsten Dominik 2009-03-26 17:15:36 +01:00
parent c7e078eeaa
commit bf1a21ce81
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
* org.el (org-store-link): Use buffer name as link description in
w3-mode buffers.
(org-ido-switchb): Fix argument bug for completion.
* org-remember.el (org-remember-apply-template): Set local
variable `auto-save-visited-file-name' instead of global one.

View file

@ -12773,7 +12773,7 @@ With two prefix arguments, restrict available buffers to agenda files."
(t (org-buffer-list)))))
(switch-to-buffer
(org-ido-completing-read "Org buffer: "
(mapcar 'buffer-name blist)
(mapcar 'list (mapcar 'buffer-name blist))
nil t))))
(defun org-buffer-list (&optional predicate exclude-tmp)