diff lisp/textmodes/reftex-index.el @ 85777:2ca0af23d79d

* emulation/edt.el (edt-emacs19-p, edt-x-emacs19-p) (edt-gnu-emacs19-p): Remove. (edt-emacs-variant, edt-window-system): Use feature 'emacs. (edt-xserver, edt-page-backward, edt-beginning-of-line) (edt-end-of-line-forward, edt-end-of-line-backward) (edt-one-word-forward, edt-one-word-backward, edt-character) (edt-line-forward, edt-next-line, edt-previous-line, edt-top) (edt-find-forward, edt-find-backward, edt-find-next-forward) (edt-find-next-backward, edt-reset, edt-advance, edt-backup) (edt-define-key, edt-bottom-check, edt-sentence-forward) (edt-sentence-backward, edt-paragraph-forward) (edt-paragraph-backward, edt-restore-key, edt-window-top) (edt-window-bottom, edt-scroll-window-forward-line) (edt-scroll-window-backward-line, edt-line-to-bottom-of-window) (edt-line-to-top-of-window, edt-paragraph-backward) (edt-restore-key, edt-window-top, edt-window-bottom) (edt-scroll-window-forward-line) (edt-scroll-window-backward-line, edt-line-to-bottom-of-window) (edt-line-to-middle-of-window, edt-goto-percentage) (edt-display-the-time, edt-remember, edt-split-window) (edt-emulation-on, edt-emulation-off) (edt-default-emulation-setup, edt-user-emulation-setup) (edt-select-default-global-map, edt-select-user-global-map): Replace uses of edt-x-emacs19-p and edt-gnu-emacs19-p with feature tests. * textmodes/reftex-index.el (reftex-index-selection-or-word): Use feature test instead of boundp test so it can be resolved at compile time. * net/newsticker.el (replace-regexp-in-string): Only define for XEmacs.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 30 Oct 2007 03:17:35 +0000
parents b6d25790aab2
children 321f32eb4bf5 880960b70474
line wrap: on
line diff
--- a/lisp/textmodes/reftex-index.el	Tue Oct 30 02:08:49 2007 +0000
+++ b/lisp/textmodes/reftex-index.el	Tue Oct 30 03:17:35 2007 +0000
@@ -52,7 +52,7 @@
   (interactive "P")
   (let* ((use-default (not (equal arg '(16))))  ; check for double prefix
          ;; check if we have an active selection
-         (active (if (boundp 'zmacs-regions)
+         (active (if (featurep 'xemacs)
                      (and zmacs-regions (region-exists-p))  ; XEmacs
                    (and transient-mark-mode mark-active)))  ; Emacs
          (beg (if active