summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/lisp-tests.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-07-27 14:01:10 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-07-27 14:01:10 +0200
commitd4fce7394345233026e6b427d90e0debe6c3e89e (patch)
treec8bc1f0f13f3da2983237ae814c098d078d73b60 /test/lisp/emacs-lisp/lisp-tests.el
parent60511bd89dbc9cd5a3ee2bb615a118cb379fb956 (diff)
downloademacs-d4fce7394345233026e6b427d90e0debe6c3e89e.tar.gz
Only insert XML declarations in nxml-mode when the buffer is empty
* lisp/nxml/nxml-mode.el (nxml-mode): Don't insert the XML declaration unless it's an empty buffer (bug#24978). This avoids the problem of the declaration being inserted by mistake when opening XML files from archives and the like -- the file doesn't exist on the file system there, either, so it would typically lead to doubled XML declarations.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-tests.el')
0 files changed, 0 insertions, 0 deletions