From: Johan Bockgård Date: Sun, 20 Oct 2013 10:13:26 +0000 (+0200) Subject: * lisp/progmodes/verilog-mode.el (verilog-mode): Don't set X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1204 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c25f8957ba44916894ebc7642414451b99703c41;p=emacs.git * lisp/progmodes/verilog-mode.el (verilog-mode): Don't set comment-indent-function globally. --- 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 + + * progmodes/verilog-mode.el (verilog-mode): Don't set + comment-indent-function globally. + 2013-10-20 Jan Djärv * 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) "")