Browse Source

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 7 years ago
parent
commit
8a90b34aa6
1 changed files with 2 additions and 1 deletions
  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)