summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-18 11:53:59 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-18 11:53:59 +0200
commitd5f2305187fa96c5eb427e685f68b90da394e09b (patch)
tree955ca187d2ab0bdd46f07e7071b0469821a4fb3e /lisp
parent26faa2b943675107e1664b2fea7174137c473475 (diff)
downloademacs-d5f2305187fa96c5eb427e685f68b90da394e09b.tar.gz
emacs-d5f2305187fa96c5eb427e685f68b90da394e09b.tar.bz2
emacs-d5f2305187fa96c5eb427e685f68b90da394e09b.zip
Clean up view-emacs-news code
* lisp/help.el (view-emacs-news): Remove workaround after fixing mode: cookie error.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/help.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 0d516cf9f68..c5de59d6bc7 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -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