Procházet zdrojové kódy

Merge branch 'maint'

Marco Wahl před 8 roky
rodič
revize
772dc6ea27
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      lisp/org.el

+ 3 - 0
lisp/org.el

@@ -14964,6 +14964,9 @@ When JUST-ALIGN is non-nil, only align tags."
 			 org-tags-sort-function)
 		   ":")))
 
+	  (if (or (string= ":" tags)
+		  (string= "::" tags))
+	      (setq tags ""))
 	  (if (not (org-string-nw-p tags)) (setq tags "")
 	    (unless (string-suffix-p ":" tags) (setq tags (concat tags ":")))
 	    (unless (string-prefix-p ":" tags) (setq tags (concat ":" tags))))