summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cursor-sensor.el
diff options
context:
space:
mode:
authorDaniel Martín <mardani29@yahoo.es>2020-09-19 19:15:48 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-09-19 19:15:48 +0200
commitc9f845a53c946f28820a476de7089f486ccaf6b9 (patch)
tree89b368ce0a13026807c7dc303c469633ad17f087 /lisp/emacs-lisp/cursor-sensor.el
parent7222e975be8d3d128086ed49506aa5bd8fccfae5 (diff)
downloademacs-c9f845a53c946f28820a476de7089f486ccaf6b9.tar.gz
emacs-c9f845a53c946f28820a476de7089f486ccaf6b9.tar.bz2
emacs-c9f845a53c946f28820a476de7089f486ccaf6b9.zip
Put files in mhtml-mode when they have <!DOCTYPE, case-insensitive
* lisp/files.el (magic-fallback-mode-alist): Match "DOCTYPE" in a case-insensitive way before putting files in mhtml-mode. See https://html.spec.whatwg.org/multipage/syntax.html#the-doctype for the standard reference. * test/lisp/files-tests.el (files-test-magic-mode-alist-doctype): Add a test (bug#43511).
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions