]> git.eshelyaron.com Git - emacs.git/commitdiff
Clean up view-emacs-news code
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 18 Apr 2022 09:53:59 +0000 (11:53 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 18 Apr 2022 09:53:59 +0000 (11:53 +0200)
* lisp/help.el (view-emacs-news): Remove workaround after fixing
mode: cookie error.

lisp/help.el

index 0d516cf9f689a1d72496f1e999f1b6cf6c1253ef..c5de59d6bc76fa004d514d3f822c050c5b1be945 100644 (file)
@@ -453,9 +453,8 @@ With argument, display info only for the selected version."
                ((< vn 18) "NEWS.1-17")
                (t (format "NEWS.%d" vn))))
         res)
-    (let ((inhibit-local-variables-regexps '(".*")))
-      (find-file (expand-file-name file data-directory))
-      (emacs-news-view-mode))
+    (find-file (expand-file-name file data-directory))
+    (emacs-news-view-mode)
     (goto-char (point-min))
     (when (stringp version)
       (when (re-search-forward