Quellcode durchsuchen

Completion: Turn off ido.el for completing outline paths in steps.

Carsten Dominik vor 16 Jahren
Ursprung
Commit
950334edb3
2 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  1. 3 0
      lisp/ChangeLog
  2. 2 1
      lisp/org.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org.el (org-olpath-completing-read): Never use ido for this
+	one.
+
 	* org-exp.el (org-export-normalize-links): Use new macro.
 
 	* org-macs.el (org-if-unprotected-at): New macro.

+ 2 - 1
lisp/org.el

@@ -8031,7 +8031,8 @@ operation has put the subtree."
 
 (defun org-olpath-completing-read (prompt collection &rest args)
   "Read an outline path like a file name."
-  (let ((thetable collection))
+  (let ((thetable collection)
+	(org-completion-use-ido nil))   ; does not work with ido.
     (apply
      'org-ido-completing-read prompt
      (lambda (string predicate &optional flag)