mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
make-news-html-file: Don’t assume NEWS has local variables
* admin/admin.el (make-news-html-file): Don't error if no "Local variables" section is found. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
5c5362a3e8
commit
99f8ed8d46
|
|
@ -955,7 +955,7 @@ $Date: %s $
|
|||
|
||||
;; Delete buffer local variables.
|
||||
(goto-char (point-max))
|
||||
(when (re-search-backward "Local variables:")
|
||||
(when (re-search-backward "Local variables:" nil t)
|
||||
(forward-line -1)
|
||||
(delete-region (point) (point-max)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue