Commit 5ebfbcdc authored by Stefan Monnier's avatar Stefan Monnier

(byte-optimize-featurep): Also handle `sxemacs'.

parent bde217b2
2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/byte-opt.el (byte-optimize-featurep): Also handle `sxemacs'.
2007-08-22 Chong Yidong <cyd@stupidchicken.com>
* image-mode.el (image-minor-mode): Use image-mode-text-map.
......@@ -1135,9 +1135,9 @@
(put 'featurep 'byte-optimizer 'byte-optimize-featurep)
(defun byte-optimize-featurep (form)
;; Emacs-21's byte-code doesn't run under XEmacs anyway, so we can
;; safely optimize away this test.
(if (equal '((quote xemacs)) (cdr-safe form))
;; Emacs-21's byte-code doesn't run under XEmacs or SXEmacs anyway, so we
;; can safely optimize away this test.
(if (member (cdr-safe form) '((quote xemacs) (quote sxemacs)))
nil
form))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment