mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
Clean up view-emacs-news code
* lisp/help.el (view-emacs-news): Remove workaround after fixing mode: cookie error.
This commit is contained in:
parent
26faa2b943
commit
d5f2305187
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user