summaryrefslogtreecommitdiff
path: root/lisp/progmodes/verilog-mode.el
diff options
context:
space:
mode:
authorJohan Bockgård <bojohan@gnu.org>2013-10-20 12:13:26 +0200
committerJohan Bockgård <bojohan@gnu.org>2013-10-20 12:13:26 +0200
commitc25f8957ba44916894ebc7642414451b99703c41 (patch)
treec07c0dd93afcf402d712f3857b7fc17c9c0c3c89 /lisp/progmodes/verilog-mode.el
parentd4816ab3aadc4ce6ae090f4cbb6f78f7236e27db (diff)
downloademacs-c25f8957ba44916894ebc7642414451b99703c41.tar.gz
emacs-c25f8957ba44916894ebc7642414451b99703c41.tar.bz2
emacs-c25f8957ba44916894ebc7642414451b99703c41.zip
* lisp/progmodes/verilog-mode.el (verilog-mode): Don't set
comment-indent-function globally.
Diffstat (limited to 'lisp/progmodes/verilog-mode.el')
-rw-r--r--lisp/progmodes/verilog-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index 174e4f7862c..7044943d5cb 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -3657,7 +3657,7 @@ Key bindings specific to `verilog-mode-map' are:
(set-syntax-table verilog-mode-syntax-table)
(set (make-local-variable 'indent-line-function)
#'verilog-indent-line-relative)
- (setq comment-indent-function 'verilog-comment-indent)
+ (set (make-local-variable 'comment-indent-function) 'verilog-comment-indent)
(set (make-local-variable 'parse-sexp-ignore-comments) nil)
(set (make-local-variable 'comment-start) "// ")
(set (make-local-variable 'comment-end) "")