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.
@@ -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.
@@ -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)