chiark / gitweb /
el/dot-emacs.el: Hack quotes in configuration files.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 6 Jan 2012 10:54:53 +0000 (10:54 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 6 Jan 2012 10:54:53 +0000 (10:54 +0000)
commit6cb52f8b2fc7fd42bce655735fd7723fe1d66842
tree2b1638e91a9082117f210dfe237717c28fc44b71
parent3910e13d2307ef57f74c31d1d295f7355d34d845
el/dot-emacs.el: Hack quotes in configuration files.

`conf-mode' has a convenient tweak which makes quote characters not be
special, which you invoke using C-c C-q (M-x conf-quote-normal).
Unfortunately, there's no way to force this setting for a particular
file, which means that the display is wrong until you clobber it
manually.  Worse, the setting applies equally to both quote characters.

Institute a new variable for controlling whether quotes should be given
special syntax, and honour it in a hook function.  This turns out to be
fiddly: read the docstrings for details.
el/dot-emacs.el