aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2008-06-08 14:53:18 +0000
committerAndreas Schwab2008-06-08 14:53:18 +0000
commitc99657a5587beecba9039b5540e927abaf4a9720 (patch)
tree228f7644a272e0053bc316b697bb8293d8bb893f
parent24f7ee4cee91afc419cf916859da3041b6086562 (diff)
downloademacs-c99657a5587beecba9039b5540e927abaf4a9720.tar.gz
emacs-c99657a5587beecba9039b5540e927abaf4a9720.zip
(vc-dir-move-to-goal-column): Don't move in an
empty line.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/vc-dispatcher.el5
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5521c6b7ddd..ea99adb5dc4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12008-06-08 Andreas Schwab <schwab@suse.de> 12008-06-08 Andreas Schwab <schwab@suse.de>
2 2
3 * vc-dispatcher.el (vc-dir-move-to-goal-column): Don't move in an
4 empty line.
5
3 * minibuffer.el (minibuffer-message): Bind inhibit-quit around 6 * minibuffer.el (minibuffer-message): Bind inhibit-quit around
4 sit-for. 7 sit-for.
5 8
diff --git a/lisp/vc-dispatcher.el b/lisp/vc-dispatcher.el
index dd4d20314ed..7179d77e8f4 100644
--- a/lisp/vc-dispatcher.el
+++ b/lisp/vc-dispatcher.el
@@ -676,8 +676,9 @@ See `run-hooks'."
676(defun vc-dir-move-to-goal-column () 676(defun vc-dir-move-to-goal-column ()
677 ;; Used to keep the cursor on the file name column. 677 ;; Used to keep the cursor on the file name column.
678 (beginning-of-line) 678 (beginning-of-line)
679 ;; Must be in sync with vc-default-status-printer. 679 (unless (eolp)
680 (forward-char 25)) 680 ;; Must be in sync with vc-default-status-printer.
681 (forward-char 25)))
681 682
682(defun vc-dir-prepare-status-buffer (bname dir &optional create-new) 683(defun vc-dir-prepare-status-buffer (bname dir &optional create-new)
683 "Find a buffer named BNAME showing DIR, or create a new one." 684 "Find a buffer named BNAME showing DIR, or create a new one."