mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* 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.
This commit is contained in:
parent
8d55ef780e
commit
4ea0e84a49
4 changed files with 89 additions and 63 deletions
|
|
@ -52,7 +52,7 @@ which is part of AUCTeX, the string is first processed with the
|
|||
(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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue