Could someone review these three small patches? Thanks. Leo
On 2010-03-31 14:00 +0100, Leo wrote: > 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 -- H A P P Y H O L I D A Y S! -- To unsubscribe, reply using "remove me" as the subject.
