Explorar o código

Merge branch 'maint'

Bastien Guerry %!s(int64=11) %!d(string=hai) anos
pai
achega
88d151b05b
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      lisp/org.el

+ 3 - 1
lisp/org.el

@@ -5509,7 +5509,9 @@ The following commands are available:
      (unless org-inhibit-startup-visibility-stuff
        (org-set-startup-visibility))))
   ;; Try to set org-hide correctly
-  (set-face-foreground 'org-hide (org-find-invisible-foreground)))
+  (let ((foreground (org-find-invisible-foreground)))
+    (if foreground
+        (set-face-foreground 'org-hide foreground))))
 
 ;; Update `customize-package-emacs-version-alist'
 (add-to-list 'customize-package-emacs-version-alist