diff options
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/progmodes/verilog-mode.el | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73c33ec6d6f..efb5e0ffad7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-06-24 Juanma Barranquero <lekktu@gmail.com> + + * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable. + 2011-06-23 Richard Stallman <rms@gnu.org> * mail/rmail.el: Going to grep hit in Rmail buffer finds the message. diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index eab34f6f026..f7cb1318dc0 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el @@ -3110,7 +3110,7 @@ Key bindings specific to `verilog-mode-map' are: #'verilog-indent-line-relative) (setq 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) "") (set (make-local-variable 'comment-start-skip) "/\\*+ *\\|// *") @@ -3157,7 +3157,7 @@ Key bindings specific to `verilog-mode-map' are: (set (make-local-variable 'imenu-generic-expression) verilog-imenu-generic-expression) ;; Tell which-func-modes that imenu knows about verilog - (when (boundp 'which-function-modes) + (when (boundp 'which-func-modes) (add-to-list 'which-func-modes 'verilog-mode)) ;; hideshow support (when (boundp 'hs-special-modes-alist) |