]> git.eshelyaron.com Git - emacs.git/commit
Font-lock FDO desktop files correctly
authorMark Oteiza <mvoteiza@udel.edu>
Mon, 28 Aug 2017 02:22:29 +0000 (22:22 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Mon, 28 Aug 2017 02:40:52 +0000 (22:40 -0400)
commit043a84702f3002d711784e5fe97c9ea8690b4cfa
tree56fb30aa4fe9d1eed4c9e8af5f159a8e81718cac
parent9e79a31c09d673019be2a2c78bf8b7db89351819
Font-lock FDO desktop files correctly

Single and double quotes do not have a special meaning in
desktop files.
https://standards.freedesktop.org/desktop-entry-spec/latest/
* etc/NEWS: Mention new mode.
* lisp/files.el (auto-mode-alist): Split out an entry for handling
the .desktop extension with conf-desktop-mode.
* lisp/textmodes/conf-mode.el (conf-desktop-font-lock-keywords): New
variable with rules for booleans and format specifiers.
(conf-unix-mode): Remove desktop file entry example from docstring.
(conf-desktop-mode): New derived major mode.
etc/NEWS
lisp/files.el
lisp/textmodes/conf-mode.el