Explorar o código

Revert "Ensure that file local variables are set"

This reverts commit 5ea02285bacb9592b20c95d4797ca7c2ec68ecac.

York Zhao ran into an infinite recursion with this "fix".
Nick Dokos %!s(int64=11) %!d(string=hai) anos
pai
achega
a82a5206f3
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      lisp/org.el

+ 1 - 4
lisp/org.el

@@ -5512,10 +5512,7 @@ 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))
-  ;; Make sure that file local variables are set.
-  (report-errors "File local-variables error: %s"
-    (hack-local-variables)))
+  (set-face-foreground 'org-hide (org-find-invisible-foreground)))
 
 ;; Update `customize-package-emacs-version-alist'
 (add-to-list 'customize-package-emacs-version-alist