diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f0e05f1a2..5b4eba05b 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -4,6 +4,8 @@ implement a link with index zero. (org-cycle-show-empty-lines): Not keep empty line under header hidden. + (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers' + to nil for special completion. * org-agenda.el (org-agenda-open-link): Pass the prefix to `org-offer-links-in-entry'. diff --git a/lisp/org.el b/lisp/org.el index adc38a11e..1f7488034 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7706,9 +7706,10 @@ Use TAB to complete link prefixes, then RET for type-specific completion support "Use iswitch as a completing-read replacement to choose from choices. PROMPT is a string to prompt with. CHOICES is a list of strings to choose from." - (let ((iswitchb-make-buflist-hook - (lambda () - (setq iswitchb-temp-buflist choices)))) + (let* ((switchb-use-virtual-buffers nil) + (iswitchb-make-buflist-hook + (lambda () + (setq iswitchb-temp-buflist choices)))) (iswitchb-read-buffer prompt))) (defun org-icompleting-read (&rest args)