comparison lisp/emulation/crisp.el @ 87941:d77b6e5ee8af

* sieve.el (sieve-make-overlay, sieve-overlay-put, sieve-overlays-at): * message.el (message-beginning-of-line): Use featurep instead of bound tests in order to resolve conditionals at compile time. * textmodes/reftex-toc.el (reftex-toc-next, reftex-toc-previous) (reftex-toc-restore-region): * textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer) (reftex-index-phrases-apply-to-region): * textmodes/ispell.el (ispell-word): * progmodes/vhdl-mode.el (vhdl-keep-region-active): * progmodes/pascal.el (pascal-mark-defun): * progmodes/f90.el (f90-mark-subprogram, f90-indent-region) (f90-fill-region): * emulation/tpu-edt.el (tpu-set-mark): * emulation/crisp.el (crisp-region-active): * winner.el (winner-active-region): * ansi-color.el (ansi-color-set-extent-face): Use featurep instead of bound tests in order to resolve conditionals at compile time.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 24 Jan 2008 15:14:52 +0000
parents d6d821e3ae21
children c70e45a7acfd 1e3a407766b9
comparison
equal deleted inserted replaced
87940:657fb7a7fe8e 87941:d77b6e5ee8af
146 'clipboard-yank 146 'clipboard-yank
147 'yank-clipboard-selection)) 147 'yank-clipboard-selection))
148 148
149 (defun crisp-region-active () 149 (defun crisp-region-active ()
150 "Compatibility function to test for an active region." 150 "Compatibility function to test for an active region."
151 (if (boundp 'zmacs-region-active-p) 151 (if (featurep 'xemacs)
152 zmacs-region-active-p 152 zmacs-region-active-p
153 mark-active)) 153 mark-active))
154 154
155 ;; and now the keymap defines 155 ;; and now the keymap defines
156 156