1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.

This commit is contained in:
Glenn Morris 2008-03-01 20:10:26 +00:00
parent c92d7d39c8
commit b94f99c804

View File

@ -2077,10 +2077,8 @@ Please contact your system administrator. "
;; create temp buffer for the region
(setq temp-buf (get-buffer-create " *ex-write*"))
(set-buffer temp-buf)
(viper-cond-compile-for-xemacs-or-emacs
(set-visited-file-name ex-file) ; xemacs
(set-visited-file-name ex-file 'noquerry) ; emacs
)
(if (featurep 'xemacs) (set-visited-file-name ex-file)
(set-visited-file-name ex-file 'noquery))
(erase-buffer)
(if (and file-exists ex-append)
(insert-file-contents ex-file))