aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kifer2008-04-06 19:26:02 +0000
committerMichael Kifer2008-04-06 19:26:02 +0000
commita5254f378911515c8b19ac4d4be0877c835f1586 (patch)
tree94316ba0dfc2cfb7c44e6859b6810916bf34bc3f
parent4dc2220833024c4c40ad52510ec8d6d6f3cf8769 (diff)
downloademacs-a5254f378911515c8b19ac4d4be0877c835f1586.tar.gz
emacs-a5254f378911515c8b19ac4d4be0877c835f1586.zip
2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
* 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.
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/ediff-util.el5
-rw-r--r--lisp/ediff-vers.el10
-rw-r--r--lisp/ediff-wind.el8
-rw-r--r--lisp/ediff.el2
-rw-r--r--lisp/emulation/viper-cmd.el6
-rw-r--r--lisp/emulation/viper-ex.el6
-rw-r--r--lisp/emulation/viper-init.el2
-rw-r--r--lisp/emulation/viper.el2
9 files changed, 33 insertions, 17 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6ac5f553f93..91bc68ddbde 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
2
3 * viper*.el (viper-search-wrap-around-t): replace with
4 viper-search-wrap-around.
5
6 * ediff*.el: replace 3-argument 'require' statements with 1-argument
7 ones (wrapped in if's). For compatibility with the current stable
8 version of XEmacs.
9
12008-04-06 Dan Nicolaescu <dann@ics.uci.edu> 102008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
2 11
3 * vc.el (vc-status-prepare-status-buffer): 12 * vc.el (vc-status-prepare-status-buffer):
diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el
index ef5032075e6..120228cca84 100644
--- a/lisp/ediff-util.el
+++ b/lisp/ediff-util.el
@@ -57,7 +57,9 @@
57 (require 'ediff-diff)) 57 (require 'ediff-diff))
58 (require 'ediff-merg) 58 (require 'ediff-merg)
59 (require 'ediff) 59 (require 'ediff)
60 (require 'ediff-tbar nil 'noerror) 60 ;; for compatibility with current stable version of xemacs
61 (if (featurep 'xemacs)
62 (require 'ediff-tbar))
61 ) 63 )
62;; end pacifier 64;; end pacifier
63 65
@@ -69,6 +71,7 @@
69(require 'ediff-diff) 71(require 'ediff-diff)
70(require 'ediff-merg) 72(require 'ediff-merg)
71 73
74;; for compatibility with current stable version of xemacs
72(if (featurep 'xemacs) 75(if (featurep 'xemacs)
73 (require 'ediff-tbar)) 76 (require 'ediff-tbar))
74 77
diff --git a/lisp/ediff-vers.el b/lisp/ediff-vers.el
index 80a748ce65e..a7a8ff644a1 100644
--- a/lisp/ediff-vers.el
+++ b/lisp/ediff-vers.el
@@ -36,8 +36,14 @@
36 36
37(and noninteractive 37(and noninteractive
38 (eval-when-compile 38 (eval-when-compile
39 (require 'pcvs nil 'noerror) 39 (condition-case nil
40 (require 'rcs nil 'noerror) 40 ;; for compatibility with current stable version of xemacs
41 (progn
42 ;;(require 'pcvs nil 'noerror)
43 ;;(require 'rcs nil 'noerror)
44 (require 'pcvs)
45 (require 'rcs))
46 (error nil))
41 (require 'vc) 47 (require 'vc)
42 (require 'ediff-init) 48 (require 'ediff-init)
43 )) 49 ))
diff --git a/lisp/ediff-wind.el b/lisp/ediff-wind.el
index e094c15bdfe..abbcd09521e 100644
--- a/lisp/ediff-wind.el
+++ b/lisp/ediff-wind.el
@@ -49,7 +49,8 @@
49 (require 'ediff-init) 49 (require 'ediff-init)
50 (require 'ediff-util) 50 (require 'ediff-util)
51 (require 'ediff-help) 51 (require 'ediff-help)
52 (require 'ediff-tbar nil 'noerror) 52 (if (featurep 'xemacs)
53 (require 'ediff-tbar))
53 ) 54 )
54;; end pacifier 55;; end pacifier
55 56
@@ -57,10 +58,7 @@
57 58
58;; be careful with ediff-tbar 59;; be careful with ediff-tbar
59(if (featurep 'xemacs) 60(if (featurep 'xemacs)
60 (condition-case nil 61 (require 'ediff-tbar)
61 (require 'ediff-tbar)
62 (error
63 (defun ediff-compute-toolbar-width () 0)))
64 (defun ediff-compute-toolbar-width () 0)) 62 (defun ediff-compute-toolbar-width () 0))
65 63
66(defgroup ediff-window nil 64(defgroup ediff-window nil
diff --git a/lisp/ediff.el b/lisp/ediff.el
index 5ef234d69ba..e392920a480 100644
--- a/lisp/ediff.el
+++ b/lisp/ediff.el
@@ -8,7 +8,7 @@
8;; Keywords: comparing, merging, patching, tools, unix 8;; Keywords: comparing, merging, patching, tools, unix
9 9
10(defconst ediff-version "2.81.2" "The current version of Ediff") 10(defconst ediff-version "2.81.2" "The current version of Ediff")
11(defconst ediff-date "January 09, 2008" "Date of last update") 11(defconst ediff-date "April 06, 2008" "Date of last update")
12 12
13 13
14;; This file is part of GNU Emacs. 14;; This file is part of GNU Emacs.
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index 26ae05c24fd..ccc93d4005d 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -3898,7 +3898,7 @@ Null string will repeat previous search."
3898 (if (not (equal start-point (point))) 3898 (if (not (equal start-point (point)))
3899 (push-mark start-point t))) 3899 (push-mark start-point t)))
3900 (search-failed 3900 (search-failed
3901 (if (and (not fail-if-not-found) viper-search-wrap-around-t) 3901 (if (and (not fail-if-not-found) viper-search-wrap-around)
3902 (progn 3902 (progn
3903 (message "Search wrapped around BOTTOM of buffer") 3903 (message "Search wrapped around BOTTOM of buffer")
3904 (goto-char (point-min)) 3904 (goto-char (point-min))
@@ -3927,7 +3927,7 @@ Null string will repeat previous search."
3927 (if (not (equal start-point (point))) 3927 (if (not (equal start-point (point)))
3928 (push-mark start-point t))) 3928 (push-mark start-point t)))
3929 (search-failed 3929 (search-failed
3930 (if (and (not fail-if-not-found) viper-search-wrap-around-t) 3930 (if (and (not fail-if-not-found) viper-search-wrap-around)
3931 (progn 3931 (progn
3932 (message "Search wrapped around TOP of buffer") 3932 (message "Search wrapped around TOP of buffer")
3933 (goto-char (point-max)) 3933 (goto-char (point-max))
@@ -4775,7 +4775,7 @@ sensitive for VI-style look-and-feel."
4775 (setq viper-no-multiple-ESC t 4775 (setq viper-no-multiple-ESC t
4776 viper-re-search t 4776 viper-re-search t
4777 viper-vi-style-in-minibuffer t 4777 viper-vi-style-in-minibuffer t
4778 viper-search-wrap-around-t t 4778 viper-search-wrap-around t
4779 viper-electric-mode nil 4779 viper-electric-mode nil
4780 viper-want-emacs-keys-in-vi nil 4780 viper-want-emacs-keys-in-vi nil
4781 viper-want-emacs-keys-in-insert nil)) 4781 viper-want-emacs-keys-in-insert nil))
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el
index 49988e285f0..54f8f23a0bc 100644
--- a/lisp/emulation/viper-ex.el
+++ b/lisp/emulation/viper-ex.el
@@ -1742,10 +1742,10 @@ reversed."
1742 (setq var "blink-matching-paren" 1742 (setq var "blink-matching-paren"
1743 val "nil")) 1743 val "nil"))
1744 ((member var '("ws" "wrapscan")) 1744 ((member var '("ws" "wrapscan"))
1745 (setq var "viper-search-wrap-around-t" 1745 (setq var "viper-search-wrap-around"
1746 val "t")) 1746 val "t"))
1747 ((member var '("nows" "nowrapscan")) 1747 ((member var '("nows" "nowrapscan"))
1748 (setq var "viper-search-wrap-around-t" 1748 (setq var "viper-search-wrap-around"
1749 val "nil"))) 1749 val "nil")))
1750 (if (and set-cmd (eq val 0)) ; value must be set by the user 1750 (if (and set-cmd (eq val 0)) ; value must be set by the user
1751 (let ((cursor-in-echo-area t)) 1751 (let ((cursor-in-echo-area t))
@@ -2268,7 +2268,7 @@ Type 'mak ' (including the space) to run make with no args."
2268 (princ (if viper-re-search "magic\n" "nomagic\n")) 2268 (princ (if viper-re-search "magic\n" "nomagic\n"))
2269 (princ (if buffer-read-only "readonly\n" "noreadonly\n")) 2269 (princ (if buffer-read-only "readonly\n" "noreadonly\n"))
2270 (princ (if blink-matching-paren "showmatch\n" "noshowmatch\n")) 2270 (princ (if blink-matching-paren "showmatch\n" "noshowmatch\n"))
2271 (princ (if viper-search-wrap-around-t "wrapscan\n" "nowrapscan\n")) 2271 (princ (if viper-search-wrap-around "wrapscan\n" "nowrapscan\n"))
2272 (princ (format "shiftwidth \t\t= %S\n" viper-shift-width)) 2272 (princ (format "shiftwidth \t\t= %S\n" viper-shift-width))
2273 (princ (format "tabstop (local) \t= %S\n" tab-width)) 2273 (princ (format "tabstop (local) \t= %S\n" tab-width))
2274 (princ (format "tabstop (global) \t= %S\n" (default-value 'tab-width))) 2274 (princ (format "tabstop (global) \t= %S\n" (default-value 'tab-width)))
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el
index d14e34b1340..73be5dcdb67 100644
--- a/lisp/emulation/viper-init.el
+++ b/lisp/emulation/viper-init.el
@@ -765,7 +765,7 @@ If nil, the cursor will move backwards without deleting anything."
765 :type '(choice (const nil) character) 765 :type '(choice (const nil) character)
766 :group 'viper-search) 766 :group 'viper-search)
767 767
768(defcustom viper-search-wrap-around-t t 768(defcustom viper-search-wrap-around t
769 "*If t, search wraps around." 769 "*If t, search wraps around."
770 :type 'boolean 770 :type 'boolean
771 :tag "Search Wraps Around" 771 :tag "Search Wraps Around"
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el
index a3667aa5993..b1046bf6405 100644
--- a/lisp/emulation/viper.el
+++ b/lisp/emulation/viper.el
@@ -9,7 +9,7 @@
9;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 9;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
10;; Keywords: emulations 10;; Keywords: emulations
11 11
12(defconst viper-version "3.14 of January 09, 2008" 12(defconst viper-version "3.14 of April 06, 2008"
13 "The current version of Viper") 13 "The current version of Viper")
14 14
15;; This file is part of GNU Emacs. 15;; This file is part of GNU Emacs.