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)
This commit is contained in:
Vibhav Pant 2017-01-19 18:02:40 +05:30
parent 086c4eaf9d
commit 1fcbd352f8

View file

@ -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)))