diff options
| author | Dan Nicolaescu | 2007-12-11 03:19:09 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-12-11 03:19:09 +0000 |
| commit | 38f584e90e8785a409d99d90f41ff357f7680ee1 (patch) | |
| tree | 7e303126a849972e37aa0c74cba60133b5b2db80 | |
| parent | 6ca0ff7375c34ba105101e5318194bdee07edf7f (diff) | |
| download | emacs-38f584e90e8785a409d99d90f41ff357f7680ee1.tar.gz emacs-38f584e90e8785a409d99d90f41ff357f7680ee1.zip | |
(set-buffer-menubar): Remove unused
function.
(add-submenu): Only define for XEmacs.
(verilog-regexp-words): Revert previous change, keep the other
definition.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/progmodes/verilog-mode.el | 23 |
2 files changed, 20 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 13505897067..b49ec6d23bd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2007-12-11 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * progmodes/verilog-mode.el (set-buffer-menubar): Remove unused | ||
| 4 | function. | ||
| 5 | (add-submenu): Only define for XEmacs. | ||
| 6 | (verilog-regexp-words): Revert previous change, keep the other | ||
| 7 | definition. | ||
| 8 | |||
| 1 | 2007-12-09 Dan Nicolaescu <dann@ics.uci.edu> | 9 | 2007-12-09 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 10 | ||
| 3 | * progmodes/perl-mode.el (perl-continued-statement-offset) | 11 | * progmodes/perl-mode.el (perl-continued-statement-offset) |
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 79a4cd5c399..2d34d9d599a 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el | |||
| @@ -154,14 +154,14 @@ | |||
| 154 | nil ;; fab | 154 | nil ;; fab |
| 155 | (defmacro store-match-data (&rest args) nil)) | 155 | (defmacro store-match-data (&rest args) nil)) |
| 156 | (error nil)) | 156 | (error nil)) |
| 157 | (condition-case nil | 157 | (if (featurep 'xemacs) |
| 158 | (if (boundp 'current-menubar) | 158 | (condition-case nil |
| 159 | nil ;; great | 159 | (if (boundp 'current-menubar) |
| 160 | (progn | 160 | nil ;; great |
| 161 | (defmacro set-buffer-menubar (&rest args) nil) | 161 | (progn |
| 162 | (defmacro add-submenu (&rest args) nil)) | 162 | (defmacro add-submenu (&rest args) nil)) |
| 163 | ) | 163 | ) |
| 164 | (error nil)) | 164 | (error nil))) |
| 165 | (condition-case nil | 165 | (condition-case nil |
| 166 | (if (fboundp 'zmacs-activate-region) | 166 | (if (fboundp 'zmacs-activate-region) |
| 167 | nil ;; great | 167 | nil ;; great |
| @@ -274,9 +274,10 @@ STRING should be given if the last search was by `string-match' on STRING." | |||
| 274 | (concat open (mapconcat 'regexp-quote strings "\\|") close))) | 274 | (concat open (mapconcat 'regexp-quote strings "\\|") close))) |
| 275 | )) | 275 | )) |
| 276 | 276 | ||
| 277 | (defun verilog-regexp-words (a) | 277 | (eval-when-compile |
| 278 | "Call 'regexp-opt' with word delimiters for the words A." | 278 | (defun verilog-regexp-words (a) |
| 279 | (concat "\\<" (verilog-regexp-opt a t) "\\>")) | 279 | "Call 'regexp-opt' with word delimiters for the words A." |
| 280 | (concat "\\<" (verilog-regexp-opt a t) "\\>"))) | ||
| 280 | 281 | ||
| 281 | (defun verilog-customize () | 282 | (defun verilog-customize () |
| 282 | "Link to customize screen for Verilog." | 283 | "Link to customize screen for Verilog." |