summaryrefslogtreecommitdiff
path: root/lisp/emulation
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-03-01 20:10:26 +0000
committerGlenn Morris <rgm@gnu.org>2008-03-01 20:10:26 +0000
commitb94f99c8043811dc9a41b0e6e4b95a8233abf1c2 (patch)
tree6eddfb6817450918c179498fc135ec0dbf061d79 /lisp/emulation
parentc92d7d39c85025be4a5521ca72f747c4d453cd50 (diff)
downloademacs-b94f99c8043811dc9a41b0e6e4b95a8233abf1c2.tar.gz
Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/viper-ex.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el
index 8e19a0b50bd..cd153bdaf91 100644
--- a/lisp/emulation/viper-ex.el
+++ b/lisp/emulation/viper-ex.el
@@ -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))