aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1997-05-22 00:40:45 +0000
committerRichard M. Stallman1997-05-22 00:40:45 +0000
commit12554a4ff4b5594324bb4c13a5780988c9d27b13 (patch)
tree1491eeeeb7661f6d2cdef140bf0a0c9a42aa40bb /lisp
parentfb644f48cf436270c8dc18554527bc90203bd0d7 (diff)
downloademacs-12554a4ff4b5594324bb4c13a5780988c9d27b13.tar.gz
emacs-12554a4ff4b5594324bb4c13a5780988c9d27b13.zip
(awk-mode): Set parse-sexp-ignore-comments.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/awk-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/awk-mode.el b/lisp/progmodes/awk-mode.el
index 3ba782bac38..d214baff7e5 100644
--- a/lisp/progmodes/awk-mode.el
+++ b/lisp/progmodes/awk-mode.el
@@ -144,6 +144,8 @@ with no args, if that value is non-nil."
144 (setq comment-start-skip "#+ *") 144 (setq comment-start-skip "#+ *")
145 (make-local-variable 'comment-indent-function) 145 (make-local-variable 'comment-indent-function)
146 (setq comment-indent-function 'c-comment-indent) 146 (setq comment-indent-function 'c-comment-indent)
147 (make-local-variable 'parse-sexp-ignore-comments)
148 (setq parse-sexp-ignore-comments t)
147 (make-local-variable 'font-lock-defaults) 149 (make-local-variable 'font-lock-defaults)
148 (setq font-lock-defaults '(awk-font-lock-keywords nil nil ((?_ . "w")))) 150 (setq font-lock-defaults '(awk-font-lock-keywords nil nil ((?_ . "w"))))
149 (run-hooks 'awk-mode-hook)) 151 (run-hooks 'awk-mode-hook))