From ed5d93a40995ad81589b819ee04d046552eddc89 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Thu, 9 Jan 2014 08:49:47 +0000 Subject: [PATCH] el/dot-emacs.el: Do brace matching in m4 files. Organization: Straylight/Edgeware From: Mark Wooding No idea why this got turned off. --- el/dot-emacs.el | 7 +++++++ 1 file changed, 7 insertions(+) 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 @@ (defun comint-send-and-indent () (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]*\\)")) ;;;-------------------------------------------------------------------------- -- [mdw]