diff options
author | Vibhav Pant <vibhavp@gmail.com> | 2017-01-19 18:02:40 +0530 |
---|---|---|
committer | Vibhav Pant <vibhavp@gmail.com> | 2017-01-19 18:02:40 +0530 |
commit | 1fcbd352f8116aca1ecdb62e84f3d86b89bc446f (patch) | |
tree | 1f6c4a2537486bbeb392a4934210700ba6b83ab6 /lisp/emacs-lisp | |
parent | 086c4eaf9d4ecc5074088115fa01c0b2fb061246 (diff) | |
download | emacs-1fcbd352f8116aca1ecdb62e84f3d86b89bc446f.tar.gz |
Use byte-switch for all symbols.
* lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-valid-obj2-p) Return
t for all symbols (instead for just keywords)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 2bc469b17f8..2c10d01ddc2 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -3972,7 +3972,6 @@ that suppresses all warnings during execution of BODY." (defun byte-compile-cond-valid-obj2-p (obj) (cond - ((symbolp obj) (keywordp obj)) ((consp obj) (eq (car obj) 'quote)) (t t))) |