浏览代码

Merge branch 'maint'

Bastien 5 年之前
父节点
当前提交
32eba0f0a6
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 0
      lisp/org-agenda.el
  2. 1 2
      lisp/org.el

+ 2 - 0
lisp/org-agenda.el

@@ -2197,8 +2197,10 @@ The following commands are available:
 
 \\{org-agenda-mode-map}"
   (interactive)
+  (ignore-errors (require 'face-remap))
   (let ((agenda-local-vars-to-keep
 	 '(text-scale-mode-amount
+	   text-scale-mode
 	   text-scale-mode-lighter
 	   face-remapping-alist))
 	(save (buffer-local-variables)))

+ 1 - 2
lisp/org.el

@@ -8735,8 +8735,7 @@ a link."
        ((memq type '(headline inlinetask))
 	(org-match-line org-complex-heading-regexp)
 	(let ((tags-beg (match-beginning 5))
-	      (tags-end (match-end 5))
-	      (tags-str (match-string 5)))
+	      (tags-end (match-end 5)))
 	  (if (and tags-beg (>= (point) tags-beg) (< (point) tags-end))
 	      ;; On tags.
 	      (org-tags-view