aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReiner Steib2008-05-10 13:09:04 +0000
committerReiner Steib2008-05-10 13:09:04 +0000
commitb3fccc2715c53adc5f80eb003abcd27f215f4564 (patch)
tree01d3756194db1e6747088aba4a35665f69a05deb
parent2cd5294d11827e2146c24173b13338e8c9a284c2 (diff)
downloademacs-b3fccc2715c53adc5f80eb003abcd27f215f4564.tar.gz
emacs-b3fccc2715c53adc5f80eb003abcd27f215f4564.zip
(smerge-command-prefix): Fix custom type.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/smerge-mode.el18
2 files changed, 15 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2b45d7b6e7e..b33a6e3f6a0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-05-10 Reiner Steib <reiner.steib@gmx.de>
2
3 * smerge-mode.el (smerge-command-prefix): Fix custom type.
4
12008-05-10 Eric S. Raymond <esr@snark.thyrsus.com> 52008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
2 6
3 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory): 7 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
diff --git a/lisp/smerge-mode.el b/lisp/smerge-mode.el
index 3195a67e6cc..fb13d2f3f7f 100644
--- a/lisp/smerge-mode.el
+++ b/lisp/smerge-mode.el
@@ -8,10 +8,10 @@
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10 10
11;; GNU Emacs is free software: you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
12;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
13;; the Free Software Foundation, either version 3 of the License, or 13;; the Free Software Foundation; either version 3, or (at your option)
14;; (at your option) any later version. 14;; any later version.
15 15
16;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
17;; but WITHOUT ANY WARRANTY; without even the implied warranty of 17;; but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -19,7 +19,9 @@
19;; GNU General Public License for more details. 19;; GNU General Public License for more details.
20 20
21;; You should have received a copy of the GNU General Public License 21;; You should have received a copy of the GNU General Public License
22;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 22;; along with GNU Emacs; see the file COPYING. If not, write to the
23;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24;; Boston, MA 02110-1301, USA.
23 25
24;;; Commentary: 26;;; Commentary:
25 27
@@ -158,7 +160,10 @@ Used in `smerge-diff-base-mine' and related functions."
158(defcustom smerge-command-prefix "\C-c^" 160(defcustom smerge-command-prefix "\C-c^"
159 "Prefix for `smerge-mode' commands." 161 "Prefix for `smerge-mode' commands."
160 :group 'smerge 162 :group 'smerge
161 :type '(choice (string "\e") (string "\C-c^") (string "") string)) 163 :type '(choice (const :tag "ESC" "\e")
164 (const :tag "C-c ^" "\C-c^" )
165 (const :tag "none" "")
166 string))
162 167
163(easy-mmode-defmap smerge-mode-map 168(easy-mmode-defmap smerge-mode-map
164 `((,smerge-command-prefix . ,smerge-basic-map)) 169 `((,smerge-command-prefix . ,smerge-basic-map))
@@ -1225,8 +1230,7 @@ with a \\[universal-argument] prefix, makes up a 3-way conflict."
1225If no conflict maker is found, turn off `smerge-mode'." 1230If no conflict maker is found, turn off `smerge-mode'."
1226 (smerge-mode 1) 1231 (smerge-mode 1)
1227 (condition-case nil 1232 (condition-case nil
1228 (unless (looking-at smerge-begin-re) 1233 (smerge-next)
1229 (smerge-next))
1230 (error (smerge-auto-leave)))) 1234 (error (smerge-auto-leave))))
1231 1235
1232(provide 'smerge-mode) 1236(provide 'smerge-mode)