Procházet zdrojové kódy

Fix 1a7364177046b8a57ade0aeb9f52bacfc0b8b088

* lisp/org.el (org-icompleting-read): Let `completing-read' or
  equivalent sort out type of completion.
(org-olpath-completing-read): Revert partially
1a7364177046b8a57ade0aeb9f52bacfc0b8b088.
Nicolas Goaziou před 9 roky
rodič
revize
50ba0a5ed6
1 změnil soubory, kde provedl 0 přidání a 5 odebrání
  1. 0 5
      lisp/org.el

+ 0 - 5
lisp/org.el

@@ -10512,10 +10512,6 @@ Should be called like `completing-read'."
 			  (org-bound-and-true-p iswitchb-mode))
 		     #'org-iswitchb-completing-read)
 		    (t #'completing-read))
-	      (pop args)
-	      (if (org-some #'consp (car args))
-		  (mapcar #'car (pop args))
-		(pop args))
 	      args)))))
 
 (defun org-extract-attributes (s)
@@ -12126,7 +12122,6 @@ this is used for the GOTO interface."
 	(org-completion-use-iswitchb nil)) ; or iswitchb
     (apply #'org-icompleting-read
 	   prompt
-	   collection
 	   (lambda (string predicate &optional flag)
 	     (cond
 	      ((eq flag nil) (try-completion string thetable))