chiark / gitweb /
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.