From: Mattias EngdegÄrd Date: Tue, 21 Feb 2023 15:13:36 +0000 (+0100) Subject: Remove stray quotes X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=450be633bb54054657b2474a9711977bdc9bd574;p=emacs.git Remove stray quotes * lisp/emacs-lisp/bytecomp.el (byte-compile-form): * lisp/help-fns.el (help-fns--interactive-only): Fix obvious mistake. Since `interactive-only` is not supposed to be anything other than a symbol at these points it was not a very consequential bug. --- diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index b1410fc2646..b0c9667dc19 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -3443,7 +3443,7 @@ lambda-expression." (format "; %s" (substitute-command-keys interactive-only))) - ((and (symbolp 'interactive-only) + ((and (symbolp interactive-only) (not (eq interactive-only t))) (format-message "; use `%s' instead." interactive-only)) diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 84266e02901..50e60b68e17 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -778,7 +778,7 @@ the C sources, too." ;; Cf byte-compile-form. (cond ((stringp interactive-only) (format ";\n in Lisp code %s" interactive-only)) - ((and (symbolp 'interactive-only) + ((and (symbolp interactive-only) (not (eq interactive-only t))) (format-message ";\n in Lisp code use `%s' instead." interactive-only))