From 1fcbd352f8116aca1ecdb62e84f3d86b89bc446f Mon Sep 17 00:00:00 2001 From: Vibhav Pant Date: Thu, 19 Jan 2017 18:02:40 +0530 Subject: [PATCH] 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) --- lisp/emacs-lisp/bytecomp.el | 1 - 1 file changed, 1 deletion(-) 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))) -- 2.39.2