diff options
author | Deepak Goel <deego@gnufans.org> | 2007-12-08 00:57:23 +0000 |
---|---|---|
committer | Deepak Goel <deego@gnufans.org> | 2007-12-08 00:57:23 +0000 |
commit | a867ead0d05d7809c12f15704f65431ce8a7aaee (patch) | |
tree | 19d0e35a35a36e3ecfc0735bf50216fd995bbe89 /lisp/progmodes/vhdl-mode.el | |
parent | 3d587afd35bfdad13523d7b856d8d054e5826a4d (diff) | |
download | emacs-a867ead0d05d7809c12f15704f65431ce8a7aaee.tar.gz |
Improves calls to `error', per mail from RMS.
Diffstat (limited to 'lisp/progmodes/vhdl-mode.el')
-rw-r--r-- | lisp/progmodes/vhdl-mode.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 5b14e6a857f..dc9934a593d 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el @@ -9095,8 +9095,9 @@ otherwise." (progn (delete-region (point) (progn (end-of-line) (point))) (vhdl-template-insert-date)) (unless noerror - (error "%s" (concat "ERROR: Modification date prefix string \"" - vhdl-modify-date-prefix-string "\" not found"))))))) + (error "ERROR: Modification date prefix string \"%s\" not found" + vhdl-modify-date-prefix-string)))))) + (defun vhdl-template-modify-noerror () "Call `vhdl-template-modify' with NOERROR non-nil." |