Mercurial > emacs
changeset 92376:b3d5b908c444
Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 01 Mar 2008 20:10:26 +0000 |
parents | 7a6035a7126b |
children | 20e7f613b637 |
files | lisp/emulation/viper-ex.el |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emulation/viper-ex.el Sat Mar 01 20:09:54 2008 +0000 +++ b/lisp/emulation/viper-ex.el Sat Mar 01 20:10:26 2008 +0000 @@ -2077,10 +2077,8 @@ ;; 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))