summaryrefslogtreecommitdiff
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
parentd4816ab3aadc4ce6ae090f4cbb6f78f7236e27db (diff)
downloademacs-c25f8957ba44916894ebc7642414451b99703c41.tar.gz
* lisp/progmodes/verilog-mode.el (verilog-mode): Don't set
comment-indent-function globally.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/verilog-mode.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 40bc3b4fc41..fb8a4e21d3b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-20 Johan Bockgård <bojohan@gnu.org>
+
+ * progmodes/verilog-mode.el (verilog-mode): Don't set
+ comment-indent-function globally.
+
2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
* menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
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) "")