Mercurial > emacs
changeset 26936:061c66a66b29
(byte-compile-constp): Include keywords.
author | Dave Love <fx@gnu.org> |
---|---|
date | Sat, 18 Dec 1999 16:30:48 +0000 |
parents | 9e0b4a6b5ad2 |
children | b395475f93d1 |
files | lisp/emacs-lisp/bytecomp.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el Sat Dec 18 16:27:10 1999 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Sat Dec 18 16:30:48 1999 +0000 @@ -1096,6 +1096,7 @@ ;; Returns non-nil if FORM is a constant. (` (cond ((consp (, form)) (eq (car (, form)) 'quote)) ((not (symbolp (, form)))) + ((keywordp (, form))) ((memq (, form) '(nil t)))))) (defmacro byte-compile-close-variables (&rest body)