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:
parent
c92d7d39c8
commit
b94f99c804
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user