view .dir-locals.el @ 20325:b6a59cc96bfa

Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407). * NEWS: Announce change. Backslashed escaped ordinary characters are now replaced by the character itself with no emitted warning. * regexp.cc (do_regexp_rep_string_escapes): Change default case statement to silently convert unrecognized escaped character to the bare character itself. Pass the special sequences of '$' and '\' through since these must be handled by lo-regexp.cc. * regexp.cc (Fregexprep): Add BIST tests for new behavior.
author Rik <rik@octave.org>
date Mon, 29 Jun 2015 08:56:22 -0700
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))