magit.el | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/magit.el b/magit.el
index eedb9f8..1c3d097 100644
--- a/magit.el
+++ b/magit.el
@@ -1498,10 +1498,10 @@ FUNC should leave point at the end of the modified
region"
(make-variable-buffer-local 'magit-refresh-args)
(put 'magit-refresh-args 'permanent-local t)
-(defvar last-point)
+(defvar magit-last-point)
(defun magit-remember-point ()
- (setq last-point (point)))
+ (setq magit-last-point (point)))
(defun magit-invisible-region-end (pos)
(while (and (not (= pos (point-max))) (invisible-p pos))
@@ -1526,7 +1526,7 @@ end, except when that would move point back to where it
was
before the last command."
(if (invisible-p (point))
(let ((end (magit-invisible-region-end (point))))
- (goto-char (if (= end last-point)
+ (goto-char (if (= end magit-last-point)
(magit-invisible-region-start (point))
end))))
(setq disable-point-adjustment t))
--
1.6.5.8
--
To unsubscribe, reply using "remove me" as the subject.