Browse Source

org.el (org-display-outline-path): Fix invalid face reference error

* lisp/org.el (org-display-outline-path): Use an anonymous face when
adding default :height to outline path.
Nicholas Vollmer 4 years ago
parent
commit
f0902bf185
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -8048,7 +8048,7 @@ If JUST-RETURN-STRING is non-nil, return a string, don't display a message."
 	   (and file bfn (concat (file-name-nondirectory bfn) separator))
 	   (and file bfn (concat (file-name-nondirectory bfn) separator))
 	   separator))
 	   separator))
     (add-face-text-property 0 (length res)
     (add-face-text-property 0 (length res)
-			    `((t :height ,(face-attribute 'default :height)))
+			    `(:height ,(face-attribute 'default :height))
 			    nil res)
 			    nil res)
     (if just-return-string
     (if just-return-string
 	res
 	res