mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* 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.
This commit is contained in:
parent
845ec007da
commit
a445370f16
14 changed files with 56 additions and 33 deletions
|
|
@ -1243,8 +1243,9 @@ If the buffer is non-empty, delete the old header first."
|
|||
(beginning-of-line 2))
|
||||
(while (looking-at "^[ \t]*$")
|
||||
(beginning-of-line 2))
|
||||
(cond ((fboundp 'zmacs-activate-region) (zmacs-activate-region))
|
||||
((boundp 'make-active) (setq mark-active t)))
|
||||
(if (featurep 'xemacs)
|
||||
(zmacs-activate-region)
|
||||
(setq mark-active t))
|
||||
(if (yes-or-no-p "Delete and rebuild header? ")
|
||||
(delete-region (point-min) (point))))
|
||||
|
||||
|
|
@ -1495,8 +1496,9 @@ index the new part without having to go over the unchanged parts again."
|
|||
(unwind-protect
|
||||
(progn
|
||||
;; Hide the region highlighting
|
||||
(cond ((fboundp 'zmacs-deactivate-region) (zmacs-deactivate-region))
|
||||
((fboundp 'deactivate-mark) (deactivate-mark)))
|
||||
(if (featurep 'xemacs)
|
||||
(zmacs-deactivate-region)
|
||||
(deactivate-mark))
|
||||
(delete-other-windows)
|
||||
(reftex-index-visit-phrases-buffer)
|
||||
(reftex-index-all-phrases))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue