Mercurial > emacs
annotate lisp/ediff-hook.el @ 92898:3aa36f5712f6
(mark-diary-entries): Move some constant variables outside the
diary-date-forms loop.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 14 Mar 2008 02:52:35 +0000 |
parents | b3aa17396fef |
children | 73a01bf5cb80 |
rev | line source |
---|---|
13130 | 1 ;;; ediff-hook.el --- setup for Ediff's menus and autoloads |
14169 | 2 |
64762
41bb365f41c4
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64091
diff
changeset
|
3 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, |
79721 | 4 ;; 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
13130 | 5 |
42602
633233bf2bbf
2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
38422
diff
changeset
|
6 ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
13130 | 7 |
8 ;; This file is part of GNU Emacs. | |
9 | |
10 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
11 ;; it under the terms of the GNU General Public License as published by | |
78236
9355f9b7bbff
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
75347
diff
changeset
|
12 ;; the Free Software Foundation; either version 3, or (at your option) |
13130 | 13 ;; any later version. |
14 | |
15 ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ;; GNU General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
14169 | 21 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
64091 | 22 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 ;; Boston, MA 02110-1301, USA. | |
13130 | 24 |
38422
7a94f1c588c4
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
35411
diff
changeset
|
25 ;;; Commentary: |
7a94f1c588c4
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
35411
diff
changeset
|
26 |
14169 | 27 ;;; Code: |
13130 | 28 |
14582
c768f6d7daaa
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14169
diff
changeset
|
29 ;;; These must be placed in menu-bar.el in Emacs |
13130 | 30 ;; |
18054 | 31 ;; (define-key menu-bar-tools-menu [ediff-misc] |
32 ;; '("Ediff Miscellanea" . menu-bar-ediff-misc-menu)) | |
13130 | 33 ;; (define-key menu-bar-tools-menu [epatch] |
34 ;; '("Apply Patch" . menu-bar-epatch-menu)) | |
35 ;; (define-key menu-bar-tools-menu [ediff-merge] | |
36 ;; '("Merge" . menu-bar-ediff-merge-menu)) | |
37 ;; (define-key menu-bar-tools-menu [ediff] | |
38 ;; '("Compare" . menu-bar-ediff-menu)) | |
39 | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
40 ;; Compiler pacifier |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
41 (defvar ediff-menu) |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
42 (defvar ediff-merge-menu) |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
43 (defvar epatch-menu) |
18054 | 44 (defvar ediff-misc-menu) |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
45 ;; end pacifier |
13130 | 46 |
18054 | 47 ;; allow menus to be set up without ediff-wind.el being loaded |
48 (defvar ediff-window-setup-function) | |
42602
633233bf2bbf
2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
38422
diff
changeset
|
49 |
44872
9247dfe141e4
2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
43029
diff
changeset
|
50 ;; This autoload is useless in Emacs because ediff-hook.el is dumped with |
9247dfe141e4
2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
43029
diff
changeset
|
51 ;; emacs, but it is needed in XEmacs |
47520
a37b476e1aec
2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
45034
diff
changeset
|
52 ;;;###autoload |
92503
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
53 (if (featurep 'xemacs) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
54 ;; xemacs form |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
55 (defun ediff-xemacs-init-menus () |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
56 (when (featurep 'menubar) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
57 (add-submenu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
58 '("Tools") ediff-menu "OO-Browser...") |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
59 (add-submenu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
60 '("Tools") ediff-merge-menu "OO-Browser...") |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
61 (add-submenu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
62 '("Tools") epatch-menu "OO-Browser...") |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
63 (add-submenu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
64 '("Tools") ediff-misc-menu "OO-Browser...") |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
65 (add-menu-button |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
66 '("Tools") "-------" "OO-Browser...") |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
67 ))) |
13130 | 68 |
69 | |
44872
9247dfe141e4
2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
43029
diff
changeset
|
70 ;; This autoload is useless in Emacs because ediff-hook.el is dumped with |
9247dfe141e4
2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
43029
diff
changeset
|
71 ;; emacs, but it is needed in XEmacs |
47520
a37b476e1aec
2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
45034
diff
changeset
|
72 ;;;###autoload |
92503
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
73 (if (featurep 'xemacs) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
74 (progn |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
75 (defvar ediff-menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
76 '("Compare" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
77 ["Two Files..." ediff-files t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
78 ["Two Buffers..." ediff-buffers t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
79 ["Three Files..." ediff-files3 t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
80 ["Three Buffers..." ediff-buffers3 t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
81 "---" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
82 ["Two Directories..." ediff-directories t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
83 ["Three Directories..." ediff-directories3 t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
84 "---" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
85 ["File with Revision..." ediff-revision t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
86 ["Directory Revisions..." ediff-directory-revisions t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
87 "---" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
88 ["Windows Word-by-word..." ediff-windows-wordwise t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
89 ["Windows Line-by-line..." ediff-windows-linewise t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
90 "---" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
91 ["Regions Word-by-word..." ediff-regions-wordwise t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
92 ["Regions Line-by-line..." ediff-regions-linewise t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
93 )) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
94 (defvar ediff-merge-menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
95 '("Merge" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
96 ["Files..." ediff-merge-files t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
97 ["Files with Ancestor..." ediff-merge-files-with-ancestor t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
98 ["Buffers..." ediff-merge-buffers t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
99 ["Buffers with Ancestor..." |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
100 ediff-merge-buffers-with-ancestor t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
101 "---" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
102 ["Directories..." ediff-merge-directories t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
103 ["Directories with Ancestor..." |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
104 ediff-merge-directories-with-ancestor t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
105 "---" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
106 ["Revisions..." ediff-merge-revisions t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
107 ["Revisions with Ancestor..." |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
108 ediff-merge-revisions-with-ancestor t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
109 ["Directory Revisions..." ediff-merge-directory-revisions t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
110 ["Directory Revisions with Ancestor..." |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
111 ediff-merge-directory-revisions-with-ancestor t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
112 )) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
113 (defvar epatch-menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
114 '("Apply Patch" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
115 ["To a file..." ediff-patch-file t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
116 ["To a buffer..." ediff-patch-buffer t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
117 )) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
118 (defvar ediff-misc-menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
119 '("Ediff Miscellanea" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
120 ["Ediff Manual" ediff-documentation t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
121 ["Customize Ediff" ediff-customize t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
122 ["List Ediff Sessions" ediff-show-registry t] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
123 ["Use separate frame for Ediff control buffer" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
124 ediff-toggle-multiframe |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
125 :style toggle |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
126 :selected (if (and (featurep 'ediff-util) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
127 (boundp 'ediff-window-setup-function)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
128 (eq ediff-window-setup-function |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
129 'ediff-setup-windows-multiframe))] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
130 ["Use a toolbar with Ediff control buffer" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
131 ediff-toggle-use-toolbar |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
132 :style toggle |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
133 :selected (if (featurep 'ediff-tbar) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
134 (ediff-use-toolbar-p))])) |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
135 |
92503
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
136 ;; put these menus before Object-Oriented-Browser in Tools menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
137 (if (and (featurep 'menubar) (not (featurep 'infodock)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
138 (not (featurep 'ediff-hook))) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
139 (ediff-xemacs-init-menus))) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
140 ;; Emacs |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
141 ;; initialize menu bar keymaps |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
142 (defvar menu-bar-ediff-misc-menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
143 (make-sparse-keymap "Ediff Miscellanea")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
144 (fset 'menu-bar-ediff-misc-menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
145 (symbol-value 'menu-bar-ediff-misc-menu)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
146 (defvar menu-bar-epatch-menu (make-sparse-keymap "Apply Patch")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
147 (fset 'menu-bar-epatch-menu (symbol-value 'menu-bar-epatch-menu)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
148 (defvar menu-bar-ediff-merge-menu (make-sparse-keymap "Merge")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
149 (fset 'menu-bar-ediff-merge-menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
150 (symbol-value 'menu-bar-ediff-merge-menu)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
151 (defvar menu-bar-ediff-menu (make-sparse-keymap "Compare")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
152 (fset 'menu-bar-ediff-menu (symbol-value 'menu-bar-ediff-menu)) |
13130 | 153 |
92503
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
154 ;; define ediff-menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
155 (define-key menu-bar-ediff-menu [window] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
156 '("This Window and Next Window" . compare-windows)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
157 (define-key menu-bar-ediff-menu [ediff-windows-linewise] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
158 '("Windows Line-by-line..." . ediff-windows-linewise)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
159 (define-key menu-bar-ediff-menu [ediff-windows-wordwise] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
160 '("Windows Word-by-word..." . ediff-windows-wordwise)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
161 (define-key menu-bar-ediff-menu [separator-ediff-windows] '("--")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
162 (define-key menu-bar-ediff-menu [ediff-regions-linewise] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
163 '("Regions Line-by-line..." . ediff-regions-linewise)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
164 (define-key menu-bar-ediff-menu [ediff-regions-wordwise] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
165 '("Regions Word-by-word..." . ediff-regions-wordwise)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
166 (define-key menu-bar-ediff-menu [separator-ediff-regions] '("--")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
167 (define-key menu-bar-ediff-menu [ediff-dir-revision] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
168 '("Directory Revisions..." . ediff-directory-revisions)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
169 (define-key menu-bar-ediff-menu [ediff-revision] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
170 '("File with Revision..." . ediff-revision)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
171 (define-key menu-bar-ediff-menu [separator-ediff-directories] '("--")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
172 (define-key menu-bar-ediff-menu [ediff-directories3] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
173 '("Three Directories..." . ediff-directories3)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
174 (define-key menu-bar-ediff-menu [ediff-directories] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
175 '("Two Directories..." . ediff-directories)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
176 (define-key menu-bar-ediff-menu [separator-ediff-files] '("--")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
177 (define-key menu-bar-ediff-menu [ediff-buffers3] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
178 '("Three Buffers..." . ediff-buffers3)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
179 (define-key menu-bar-ediff-menu [ediff-files3] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
180 '("Three Files..." . ediff-files3)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
181 (define-key menu-bar-ediff-menu [ediff-buffers] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
182 '("Two Buffers..." . ediff-buffers)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
183 (define-key menu-bar-ediff-menu [ediff-files] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
184 '("Two Files..." . ediff-files)) |
13130 | 185 |
92503
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
186 ;; define merge menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
187 (define-key |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
188 menu-bar-ediff-merge-menu [ediff-merge-dir-revisions-with-ancestor] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
189 '("Directory Revisions with Ancestor..." |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
190 . ediff-merge-directory-revisions-with-ancestor)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
191 (define-key |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
192 menu-bar-ediff-merge-menu [ediff-merge-dir-revisions] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
193 '("Directory Revisions..." . ediff-merge-directory-revisions)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
194 (define-key |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
195 menu-bar-ediff-merge-menu [ediff-merge-revisions-with-ancestor] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
196 '("Revisions with Ancestor..." |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
197 . ediff-merge-revisions-with-ancestor)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
198 (define-key menu-bar-ediff-merge-menu [ediff-merge-revisions] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
199 '("Revisions..." . ediff-merge-revisions)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
200 (define-key menu-bar-ediff-merge-menu [separator-ediff-merge] '("--")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
201 (define-key |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
202 menu-bar-ediff-merge-menu [ediff-merge-directories-with-ancestor] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
203 '("Directories with Ancestor..." |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
204 . ediff-merge-directories-with-ancestor)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
205 (define-key menu-bar-ediff-merge-menu [ediff-merge-directories] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
206 '("Directories..." . ediff-merge-directories)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
207 (define-key |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
208 menu-bar-ediff-merge-menu [separator-ediff-merge-dirs] '("--")) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
209 (define-key |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
210 menu-bar-ediff-merge-menu [ediff-merge-buffers-with-ancestor] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
211 '("Buffers with Ancestor..." . ediff-merge-buffers-with-ancestor)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
212 (define-key menu-bar-ediff-merge-menu [ediff-merge-buffers] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
213 '("Buffers..." . ediff-merge-buffers)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
214 (define-key menu-bar-ediff-merge-menu [ediff-merge-files-with-ancestor] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
215 '("Files with Ancestor..." . ediff-merge-files-with-ancestor)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
216 (define-key menu-bar-ediff-merge-menu [ediff-merge-files] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
217 '("Files..." . ediff-merge-files)) |
13130 | 218 |
92503
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
219 ;; define epatch menu |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
220 (define-key menu-bar-epatch-menu [ediff-patch-buffer] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
221 '("To a Buffer..." . ediff-patch-buffer)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
222 (define-key menu-bar-epatch-menu [ediff-patch-file] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
223 '("To a File..." . ediff-patch-file)) |
18054 | 224 |
92503
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
225 ;; define ediff miscellanea |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
226 (define-key menu-bar-ediff-misc-menu [emultiframe] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
227 '("Toggle use of separate control buffer frame" |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
228 . ediff-toggle-multiframe)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
229 (define-key menu-bar-ediff-misc-menu [eregistry] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
230 '("List Ediff Sessions" . ediff-show-registry)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
231 (define-key menu-bar-ediff-misc-menu [ediff-cust] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
232 '("Customize Ediff" . ediff-customize)) |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
233 (define-key menu-bar-ediff-misc-menu [ediff-doc] |
b3aa17396fef
Expand all ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Glenn Morris <rgm@gnu.org>
parents:
92493
diff
changeset
|
234 '("Ediff Manual" . ediff-documentation))) |
13130 | 235 |
13215
e0ee1eaaabc5
Now defines [window] in menu-bar-ediff-menu.
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
13130
diff
changeset
|
236 ;; arrange for autoloads |
13130 | 237 (if purify-flag |
238 () ; if dumping, autoloads are set up in loaddefs.el | |
239 ;; if the user decides to load this file, set up autoloads | |
240 ;; compare files and buffers | |
79272
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
241 (autoload 'ediff "ediff" "Compare two files." t) |
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
242 (autoload 'ediff-files "ediff" "Compare two files." t) |
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
243 (autoload 'ediff-buffers "ediff" "Compare two buffers." t) |
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
244 (autoload 'ebuffers "ediff" "Compare two buffers." t) |
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
245 (autoload 'ediff3 "ediff" "Compare three files." t) |
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
246 (autoload 'ediff-files3 "ediff" "Compare three files." t) |
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
247 (autoload 'ediff-buffers3 "ediff" "Compare three buffers." t) |
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
248 (autoload 'ebuffers3 "ediff" "Compare three buffers." t) |
13130 | 249 |
79272
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
250 (autoload 'erevision "ediff" "Compare versions of a file." t) |
dc9a8fab33bb
(ediff, ediff-files, ediff-buffers, ebuffers, ediff3, ediff-files3,
Juanma Barranquero <lekktu@gmail.com>
parents:
78236
diff
changeset
|
251 (autoload 'ediff-revision "ediff" "Compare versions of a file." t) |
13130 | 252 |
253 ;; compare regions and windows | |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
254 (autoload 'ediff-windows-wordwise |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
255 "ediff" "Compare two windows word-by-word." t) |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
256 (autoload 'ediff-regions-wordwise |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
257 "ediff" "Compare two regions word-by-word." t) |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
258 (autoload 'ediff-windows-linewise |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
259 "ediff" "Compare two windows line-by-line." t) |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
260 (autoload 'ediff-regions-linewise |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
261 "ediff" "Compare two regions line-by-line." t) |
13130 | 262 |
263 ;; patch | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
264 (autoload 'ediff-patch-file "ediff" "Patch a file." t) |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
265 (autoload 'epatch "ediff" "Patch a file." t) |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
266 (autoload 'ediff-patch-buffer "ediff" "Patch a buffer.") |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
267 (autoload 'epatch-buffer "ediff" "Patch a buffer." t) |
13130 | 268 |
269 ;; merge | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
270 (autoload 'ediff-merge "ediff" "Merge two files." t) |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
271 (autoload 'ediff-merge-files "ediff" "Merge two files." t) |
13130 | 272 (autoload 'ediff-merge-files-with-ancestor |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
273 "ediff" "Merge two files using a third file as an ancestor." t) |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
274 (autoload 'ediff-merge-buffers "ediff" "Merge two buffers." t) |
13130 | 275 (autoload 'ediff-merge-buffers-with-ancestor |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
276 "ediff" "Merge two buffers using a third buffer as an ancestor." t) |
13130 | 277 |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
278 (autoload 'ediff-merge-revisions "ediff" "Merge two versions of a file." t) |
13130 | 279 (autoload 'ediff-merge-revisions-with-ancestor |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
280 "ediff" "Merge two versions of a file." t) |
13130 | 281 |
282 ;; compare directories | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
283 (autoload 'edirs "ediff" "Compare files in two directories." t) |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
284 (autoload 'ediff-directories "ediff" "Compare files in two directories." t) |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
285 (autoload 'edirs3 "ediff" "Compare files in three directories." t) |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
286 (autoload |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
287 'ediff-directories3 "ediff" "Compare files in three directories." t) |
13130 | 288 |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
289 (autoload 'edir-revisions |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
290 "ediff" "Compare two versions of a file." t) |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
291 (autoload 'ediff-directory-revisions |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
292 "ediff" "Compare two versions of a file." t) |
13130 | 293 |
294 ;; merge directories | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
295 (autoload 'edirs-merge "ediff" "Merge files in two directories." t) |
13130 | 296 (autoload 'ediff-merge-directories |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
297 "ediff" "Merge files in two directories." t) |
13130 | 298 (autoload 'edirs-merge-with-ancestor |
299 "ediff" | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
300 "Merge files in two directories using files in a third dir as ancestors." |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
301 t) |
13130 | 302 (autoload 'ediff-merge-directories-with-ancestor |
303 "ediff" | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
304 "Merge files in two directories using files in a third dir as ancestors." |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
305 t) |
13130 | 306 |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
307 (autoload 'edir-merge-revisions |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
308 "ediff" "Merge versions of files in a directory." t) |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
309 (autoload 'ediff-merge-directory-revisions |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
310 "ediff" "Merge versions of files in a directory." t) |
13130 | 311 (autoload 'ediff-merge-directory-revisions-with-ancestor |
312 "ediff" | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
313 "Merge versions of files in a directory using other versions as ancestors." |
13130 | 314 t) |
315 (autoload 'edir-merge-revisions-with-ancestor | |
316 "ediff" | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
317 "Merge versions of files in a directory using other versions as ancestors." |
13130 | 318 t) |
13215
e0ee1eaaabc5
Now defines [window] in menu-bar-ediff-menu.
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
13130
diff
changeset
|
319 |
e0ee1eaaabc5
Now defines [window] in menu-bar-ediff-menu.
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
13130
diff
changeset
|
320 ;; misc |
13130 | 321 (autoload 'ediff-show-registry |
16248
b2fae8abc5b0
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
15480
diff
changeset
|
322 "ediff-mult" |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
323 "Display the registry of active Ediff sessions." |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
324 t) |
18839 | 325 (autoload 'eregistry |
326 "ediff-mult" | |
327 "Display the registry of active Ediff sessions." | |
328 t) | |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
329 (autoload 'ediff-documentation |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
330 "ediff" |
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
331 "Display Ediff's manual." |
13130 | 332 t) |
13215
e0ee1eaaabc5
Now defines [window] in menu-bar-ediff-menu.
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
13130
diff
changeset
|
333 (autoload 'ediff-version |
e0ee1eaaabc5
Now defines [window] in menu-bar-ediff-menu.
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
13130
diff
changeset
|
334 "ediff" |
15480
43a3308fcf61
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
14582
diff
changeset
|
335 "Show Ediff's version and last modification date." |
13215
e0ee1eaaabc5
Now defines [window] in menu-bar-ediff-menu.
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
13130
diff
changeset
|
336 t) |
16766
beb94a5271e2
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
16248
diff
changeset
|
337 (autoload 'ediff-toggle-multiframe |
beb94a5271e2
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
16248
diff
changeset
|
338 "ediff-util" |
beb94a5271e2
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
16248
diff
changeset
|
339 "Toggle the use of separate frame for Ediff control buffer." |
beb94a5271e2
*** empty log message ***
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
16248
diff
changeset
|
340 t) |
18054 | 341 (autoload 'ediff-toggle-use-toolbar |
342 "ediff-util" | |
343 "Toggle the use of Ediff toolbar." | |
344 t) | |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47543
diff
changeset
|
345 |
13130 | 346 ) ; if purify-flag |
347 | |
348 | |
349 (provide 'ediff-hook) | |
350 | |
68997
6169b51037af
2006-02-19 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
68651
diff
changeset
|
351 |
52401 | 352 ;;; arch-tag: 512f8656-8a4b-4789-af5d-5c6144498df3 |
13130 | 353 ;;; ediff-hook.el ends here |