]> git.eshelyaron.com Git - emacs.git/commitdiff
Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.
authorGlenn Morris <rgm@gnu.org>
Sat, 1 Mar 2008 20:10:26 +0000 (20:10 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 1 Mar 2008 20:10:26 +0000 (20:10 +0000)
lisp/emulation/viper-ex.el

index 8e19a0b50bd12174b2890f1497aa83fd85d03231..cd153bdaf9199bfbad0f95ef15e6ca7c23a175f0 100644 (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))