diff options
author | Tom Levy <tomlevy93@gmail.com> | 2021-11-09 12:25:24 +0000 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-10 01:16:16 +0100 |
commit | a28647a6b6800212e632ea6b86763dbff4a40d00 (patch) | |
tree | 1a37299157da3a23cfeea4c58ed2523563dbd3a1 /lisp/emacs-lisp/gv.el | |
parent | 315d550bf7ff9444bec98e8b44c4fd2bf12b492c (diff) | |
download | emacs-a28647a6b6800212e632ea6b86763dbff4a40d00.tar.gz |
Remove spurious %S from 'define-error' messages
; The MESSAGE arg of 'define-error' does not support format specifiers
; (unlike the 'error' function). The signal data is automatically
; appended to the error message.
* lisp/emacs/lisp/cl-generic.el (cl--generic-cyclic-definition):
Remove spurious %S from error message.
* lisp/emacs-lisp/gv.el (gv-invalid-place): Remove spurious %S from
error message (and rephrase) (bug#51718).
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp/gv.el')
-rw-r--r-- | lisp/emacs-lisp/gv.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el index d6272a52469..ebcc63cc2a5 100644 --- a/lisp/emacs-lisp/gv.el +++ b/lisp/emacs-lisp/gv.el @@ -74,7 +74,7 @@ ;; (defvar gv--macro-environment nil ;; "Macro expanders for generalized variables.") -(define-error 'gv-invalid-place "%S is not a valid place expression") +(define-error 'gv-invalid-place "Invalid place expression") ;;;###autoload (defun gv-get (place do) |