Procházet zdrojové kódy

Fix error when setting more than one tag

* lisp/org.el (org-set-tags-command): Fix type of history argument in
  `completing-read'.
Nicolas Goaziou před 7 roky
rodič
revize
8a90b34aa6
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      lisp/org.el

+ 2 - 1
lisp/org.el

@@ -14255,7 +14255,8 @@ in Lisp code use `org-set-tags' instead."
 		 (org-trim (completing-read
 			    "Tags: "
 			    #'org-tags-completion-function
-			    nil nil current-tags 'org-tags-history)))))))
+			    nil nil (org-make-tag-string current-tags)
+			    'org-tags-history)))))))
       (org-set-tags tags)))))
 
 (defun org-align-tags (&optional all)