From: Glenn Morris Date: Sat, 1 Mar 2008 20:10:26 +0000 (+0000) Subject: Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test. X-Git-Tag: emacs-pretest-23.0.90~7538 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b94f99c8043811dc9a41b0e6e4b95a8233abf1c2;p=emacs.git Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test. --- 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))