chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f15fd
)
el/dot-emacs.el: Do brace matching in m4 files.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 9 Jan 2014 08:49:47 +0000
(08:49 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 9 Jan 2014 08:56:50 +0000
(08:56 +0000)
No idea why this got turned off.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index db3be62217dae9da2fcbab7e9d8461aa7e94871a..80f0f811f7d224a19b7d289c4debf1841f0c9bec 100644
(file)
--- 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]*\\(?:#+\\|\\<dnl\\>\\)[ \t]*\\)"))
;;;--------------------------------------------------------------------------