diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-22 23:19:47 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-22 23:19:47 +0000 |
commit | 6eabfb2600e07362acc22f6ffcdc35e1cc758eb0 (patch) | |
tree | d5780fffd5c40681baf862bd779906049407b7c7 /lisp/smerge-mode.el | |
parent | 0e86b6b04b7700833e139303e311ae7a8c4088a3 (diff) | |
download | emacs-6eabfb2600e07362acc22f6ffcdc35e1cc758eb0.tar.gz |
(smerge-basic-map): Use `=' rather than `d'.
Use minibuffer menu prompt for the `=' prefix.
(smerge-command-prefix): Change default to C-^.
(smerge-mode): Don't assume font-lock doesn't move point.
Diffstat (limited to 'lisp/smerge-mode.el')
-rw-r--r-- | lisp/smerge-mode.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/smerge-mode.el b/lisp/smerge-mode.el index 5b182b28e8a..1b7359d4478 100644 --- a/lisp/smerge-mode.el +++ b/lisp/smerge-mode.el @@ -4,7 +4,7 @@ ;; Author: Stefan Monnier <monnier@cs.yale.edu> ;; Keywords: merge diff3 cvs conflict -;; Revision: $Id: smerge-mode.el,v 1.7 2000/10/06 16:07:31 monnier Exp $ +;; Revision: $Id: smerge-mode.el,v 1.8 2000/12/22 22:58:57 monnier Exp $ ;; This file is part of GNU Emacs. @@ -472,13 +472,19 @@ The point is moved to the end of the conflict." (font-lock-remove-keywords nil smerge-font-lock-keywords)) (goto-char (point-min)) (while (smerge-find-conflict) - (font-lock-fontify-region (match-beginning 0) (match-end 0) nil))))) + (save-excursion + (font-lock-fontify-region (match-beginning 0) (match-end 0) nil)))))) (provide 'smerge-mode) ;;; Change Log: ;; $Log: smerge-mode.el,v $ +;; Revision 1.8 2000/12/22 22:58:57 monnier +;; (smerge-basic-map): Use `=' rather than `d'. +;; Use minibuffer menu prompt for the `=' prefix. +;; (smerge-command-prefix): Change default to C-^. +;; ;; Revision 1.7 2000/10/06 16:07:31 monnier ;; (smerge-diff): Setup the buffer's default-directory ;; and add filename to the names so that diff-mode can jump to source. |