]> code.delx.au - gnu-emacs/commitdiff
Fix bug#22069 in cl-generic.el
authorStephen Leake <stephen_leake@stephe-leake.org>
Wed, 2 Dec 2015 12:25:12 +0000 (06:25 -0600)
committerStephen Leake <stephen_leake@stephe-leake.org>
Wed, 2 Dec 2015 12:40:27 +0000 (06:40 -0600)
* lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
not run thru `format'.

lisp/emacs-lisp/cl-generic.el

index 9e6102c7300f549ad9e450b9e459f2a02d722250..78f580cbfd0130a5626f477c857cf0d0b3a6b2ae 100644 (file)
@@ -797,10 +797,10 @@ methods.")
 
 ;;; Define some pre-defined generic functions, used internally.
 
-(define-error 'cl-no-method "No method for %S")
-(define-error 'cl-no-next-method "No next method for %S" 'cl-no-method)
-(define-error 'cl-no-primary-method "No primary method for %S" 'cl-no-method)
-(define-error 'cl-no-applicable-method "No applicable method for %S"
+(define-error 'cl-no-method "No method")
+(define-error 'cl-no-next-method "No next method" 'cl-no-method)
+(define-error 'cl-no-primary-method "No primary method" 'cl-no-method)
+(define-error 'cl-no-applicable-method "No applicable method"
   'cl-no-method)
 
 (cl-defgeneric cl-no-next-method (generic method &rest args)