From: Mark Wooding Date: Thu, 9 Jan 2014 08:49:47 +0000 (+0000) Subject: el/dot-emacs.el: Do brace matching in m4 files. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/ed5d93a40995ad81589b819ee04d046552eddc89 el/dot-emacs.el: Do brace matching in m4 files. No idea why this got turned off. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index db3be62..80f0f81 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -2974,6 +2974,13 @@ setting once it's actually been made." (indent-for-tab-command))) (defun mdw-setup-m4 () + + ;; Inexplicably, Emacs doesn't match braces in m4 mode. This is very + ;; annoying: fix it. + (modify-syntax-entry ?{ "(") + (modify-syntax-entry ?} ")") + + ;; Fill prefix. (mdw-standard-fill-prefix "\\([ \t]*\\(?:#+\\|\\\\)[ \t]*\\)")) ;;;--------------------------------------------------------------------------