Commit b0f4c320 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/progmodes/autoconf.el (autoconf-mode): Tweak comment-start-skip.

See also

Fixes: debbugs:15822
parent 7f1913b2
2013-11-08 Glenn Morris <>
* progmodes/autoconf.el (autoconf-mode):
Tweak comment-start-skip. (Bug#15822)
2013-11-08 Stefan Monnier <>
* progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
......@@ -79,7 +79,8 @@ searching backwards at another AC_... command."
(setq-local parens-require-spaces nil) ; for M4 arg lists
(setq-local defun-prompt-regexp "^[ \t]*A[CM]_\\(\\sw\\|\\s_\\)+")
(setq-local comment-start "dnl ")
(setq-local comment-start-skip "\\(?:\\(\\W\\|\\`\\)dnl\\|#\\) +")
;; We want to avoid matching "dnl" in other text.
(setq-local comment-start-skip "\\(?:\\(\\W\\|^\\)dnl\\|#\\) +")
(setq-local syntax-propertize-function
(syntax-propertize-rules ("\\<dnl\\>" (0 "<"))))
(setq-local font-lock-defaults
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment