Browse Source

Fix commit 19af72

Thanks to Rainer Stengele for reporting this.
Bastien Guerry 4 years ago
parent
commit
19ca3e2e83
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lisp/org.el

+ 2 - 2
lisp/org.el

@@ -4908,13 +4908,13 @@ Support for group tags is controlled by the option
 			 (setq ret (save-match-data
 				     (org-set-regexps-and-options-for-tags)))))
 		     ;; Append setupfile tags to existing tags
+		     (setq org-ota t)
 		     (setq org-file-tags
 			   (delq nil (append org-file-tags (nth 0 ret)))
 			   org-tag-alist
 			   (delq nil (append org-tag-alist (nth 1 ret)))
 			   org-tag-groups-alist
-			   (delq nil (append org-tag-groups-alist (nth 2 ret)))
-			   org-ota t)))
+			   (delq nil (append org-tag-groups-alist (nth 2 ret))))))
 		  (and ext-setup-or-nil
 		       (string-match re ext-setup-or-nil start)
 		       (setq start (match-end 0)))