diff options
| author | Vibhav Pant | 2017-01-19 18:02:40 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2017-01-19 18:02:40 +0530 |
| commit | 1fcbd352f8116aca1ecdb62e84f3d86b89bc446f (patch) | |
| tree | 1f6c4a2537486bbeb392a4934210700ba6b83ab6 | |
| parent | 086c4eaf9d4ecc5074088115fa01c0b2fb061246 (diff) | |
| download | emacs-1fcbd352f8116aca1ecdb62e84f3d86b89bc446f.tar.gz emacs-1fcbd352f8116aca1ecdb62e84f3d86b89bc446f.zip | |
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)
| -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." | |||
| 3972 | 3972 | ||
| 3973 | (defun byte-compile-cond-valid-obj2-p (obj) | 3973 | (defun byte-compile-cond-valid-obj2-p (obj) |
| 3974 | (cond | 3974 | (cond |
| 3975 | ((symbolp obj) (keywordp obj)) | ||
| 3976 | ((consp obj) (eq (car obj) 'quote)) | 3975 | ((consp obj) (eq (car obj) 'quote)) |
| 3977 | (t t))) | 3976 | (t t))) |
| 3978 | 3977 | ||