summaryrefslogtreecommitdiff
path: root/lisp/progmodes/vhdl-mode.el
diff options
context:
space:
mode:
authorDeepak Goel <deego@gnufans.org>2007-12-08 00:57:23 +0000
committerDeepak Goel <deego@gnufans.org>2007-12-08 00:57:23 +0000
commita867ead0d05d7809c12f15704f65431ce8a7aaee (patch)
tree19d0e35a35a36e3ecfc0735bf50216fd995bbe89 /lisp/progmodes/vhdl-mode.el
parent3d587afd35bfdad13523d7b856d8d054e5826a4d (diff)
downloademacs-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.el5
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."