# HG changeset patch # User Michael Kifer # Date 1207509962 0 # Node ID d7554c14325cad500177c655fbbb1e98c799c23d # Parent 061a2121a7e88aea335ad607eb3a39a0a368b24c 2008-04-06 Michael Kifer * viper*.el (viper-search-wrap-around-t): replace with viper-search-wrap-around. * ediff*.el: replace 3-argument 'require' statements with 1-argument ones (wrapped in if's). For compatibility with the current stable version of XEmacs. diff -r 061a2121a7e8 -r d7554c14325c lisp/ChangeLog --- a/lisp/ChangeLog Sun Apr 06 17:30:40 2008 +0000 +++ b/lisp/ChangeLog Sun Apr 06 19:26:02 2008 +0000 @@ -1,3 +1,12 @@ +2008-04-06 Michael Kifer + + * viper*.el (viper-search-wrap-around-t): replace with + viper-search-wrap-around. + + * ediff*.el: replace 3-argument 'require' statements with 1-argument + ones (wrapped in if's). For compatibility with the current stable + version of XEmacs. + 2008-04-06 Dan Nicolaescu * vc.el (vc-status-prepare-status-buffer): diff -r 061a2121a7e8 -r d7554c14325c lisp/ediff-util.el --- a/lisp/ediff-util.el Sun Apr 06 17:30:40 2008 +0000 +++ b/lisp/ediff-util.el Sun Apr 06 19:26:02 2008 +0000 @@ -57,7 +57,9 @@ (require 'ediff-diff)) (require 'ediff-merg) (require 'ediff) - (require 'ediff-tbar nil 'noerror) + ;; for compatibility with current stable version of xemacs + (if (featurep 'xemacs) + (require 'ediff-tbar)) ) ;; end pacifier @@ -69,6 +71,7 @@ (require 'ediff-diff) (require 'ediff-merg) +;; for compatibility with current stable version of xemacs (if (featurep 'xemacs) (require 'ediff-tbar)) diff -r 061a2121a7e8 -r d7554c14325c lisp/ediff-vers.el --- a/lisp/ediff-vers.el Sun Apr 06 17:30:40 2008 +0000 +++ b/lisp/ediff-vers.el Sun Apr 06 19:26:02 2008 +0000 @@ -36,8 +36,14 @@ (and noninteractive (eval-when-compile - (require 'pcvs nil 'noerror) - (require 'rcs nil 'noerror) + (condition-case nil + ;; for compatibility with current stable version of xemacs + (progn + ;;(require 'pcvs nil 'noerror) + ;;(require 'rcs nil 'noerror) + (require 'pcvs) + (require 'rcs)) + (error nil)) (require 'vc) (require 'ediff-init) )) diff -r 061a2121a7e8 -r d7554c14325c lisp/ediff-wind.el --- a/lisp/ediff-wind.el Sun Apr 06 17:30:40 2008 +0000 +++ b/lisp/ediff-wind.el Sun Apr 06 19:26:02 2008 +0000 @@ -49,7 +49,8 @@ (require 'ediff-init) (require 'ediff-util) (require 'ediff-help) - (require 'ediff-tbar nil 'noerror) + (if (featurep 'xemacs) + (require 'ediff-tbar)) ) ;; end pacifier @@ -57,10 +58,7 @@ ;; be careful with ediff-tbar (if (featurep 'xemacs) - (condition-case nil - (require 'ediff-tbar) - (error - (defun ediff-compute-toolbar-width () 0))) + (require 'ediff-tbar) (defun ediff-compute-toolbar-width () 0)) (defgroup ediff-window nil diff -r 061a2121a7e8 -r d7554c14325c lisp/ediff.el --- a/lisp/ediff.el Sun Apr 06 17:30:40 2008 +0000 +++ b/lisp/ediff.el Sun Apr 06 19:26:02 2008 +0000 @@ -8,7 +8,7 @@ ;; Keywords: comparing, merging, patching, tools, unix (defconst ediff-version "2.81.2" "The current version of Ediff") -(defconst ediff-date "January 09, 2008" "Date of last update") +(defconst ediff-date "April 06, 2008" "Date of last update") ;; This file is part of GNU Emacs. diff -r 061a2121a7e8 -r d7554c14325c lisp/emulation/viper-cmd.el --- a/lisp/emulation/viper-cmd.el Sun Apr 06 17:30:40 2008 +0000 +++ b/lisp/emulation/viper-cmd.el Sun Apr 06 19:26:02 2008 +0000 @@ -3898,7 +3898,7 @@ (if (not (equal start-point (point))) (push-mark start-point t))) (search-failed - (if (and (not fail-if-not-found) viper-search-wrap-around-t) + (if (and (not fail-if-not-found) viper-search-wrap-around) (progn (message "Search wrapped around BOTTOM of buffer") (goto-char (point-min)) @@ -3927,7 +3927,7 @@ (if (not (equal start-point (point))) (push-mark start-point t))) (search-failed - (if (and (not fail-if-not-found) viper-search-wrap-around-t) + (if (and (not fail-if-not-found) viper-search-wrap-around) (progn (message "Search wrapped around TOP of buffer") (goto-char (point-max)) @@ -4775,7 +4775,7 @@ (setq viper-no-multiple-ESC t viper-re-search t viper-vi-style-in-minibuffer t - viper-search-wrap-around-t t + viper-search-wrap-around t viper-electric-mode nil viper-want-emacs-keys-in-vi nil viper-want-emacs-keys-in-insert nil)) diff -r 061a2121a7e8 -r d7554c14325c lisp/emulation/viper-ex.el --- a/lisp/emulation/viper-ex.el Sun Apr 06 17:30:40 2008 +0000 +++ b/lisp/emulation/viper-ex.el Sun Apr 06 19:26:02 2008 +0000 @@ -1742,10 +1742,10 @@ (setq var "blink-matching-paren" val "nil")) ((member var '("ws" "wrapscan")) - (setq var "viper-search-wrap-around-t" + (setq var "viper-search-wrap-around" val "t")) ((member var '("nows" "nowrapscan")) - (setq var "viper-search-wrap-around-t" + (setq var "viper-search-wrap-around" val "nil"))) (if (and set-cmd (eq val 0)) ; value must be set by the user (let ((cursor-in-echo-area t)) @@ -2268,7 +2268,7 @@ (princ (if viper-re-search "magic\n" "nomagic\n")) (princ (if buffer-read-only "readonly\n" "noreadonly\n")) (princ (if blink-matching-paren "showmatch\n" "noshowmatch\n")) - (princ (if viper-search-wrap-around-t "wrapscan\n" "nowrapscan\n")) + (princ (if viper-search-wrap-around "wrapscan\n" "nowrapscan\n")) (princ (format "shiftwidth \t\t= %S\n" viper-shift-width)) (princ (format "tabstop (local) \t= %S\n" tab-width)) (princ (format "tabstop (global) \t= %S\n" (default-value 'tab-width))) diff -r 061a2121a7e8 -r d7554c14325c lisp/emulation/viper-init.el --- a/lisp/emulation/viper-init.el Sun Apr 06 17:30:40 2008 +0000 +++ b/lisp/emulation/viper-init.el Sun Apr 06 19:26:02 2008 +0000 @@ -765,7 +765,7 @@ :type '(choice (const nil) character) :group 'viper-search) -(defcustom viper-search-wrap-around-t t +(defcustom viper-search-wrap-around t "*If t, search wraps around." :type 'boolean :tag "Search Wraps Around" diff -r 061a2121a7e8 -r d7554c14325c lisp/emulation/viper.el --- a/lisp/emulation/viper.el Sun Apr 06 17:30:40 2008 +0000 +++ b/lisp/emulation/viper.el Sun Apr 06 19:26:02 2008 +0000 @@ -9,7 +9,7 @@ ;; Author: Michael Kifer ;; Keywords: emulations -(defconst viper-version "3.14 of January 09, 2008" +(defconst viper-version "3.14 of April 06, 2008" "The current version of Viper") ;; This file is part of GNU Emacs.