emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] feature/byte-switch 1fcbd35 1/2: Use byte-switch for all s


From: Vibhav Pant
Subject: [Emacs-diffs] feature/byte-switch 1fcbd35 1/2: Use byte-switch for all symbols.
Date: Thu, 19 Jan 2017 13:15:29 +0000 (UTC)

branch: feature/byte-switch
commit 1fcbd352f8116aca1ecdb62e84f3d86b89bc446f
Author: Vibhav Pant <address@hidden>
Commit: Vibhav Pant <address@hidden>

    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 2bc469b..2c10d01 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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]