bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 21.1: mh-e folder mode displayed incorrectly


From: Gerd Moellmann
Subject: Re: 21.1: mh-e folder mode displayed incorrectly
Date: 23 Oct 2001 17:52:21 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

Kevin Layer <address@hidden> writes:

> I don't know if this is a bug in mh-utils.el or the function recenter,
> but if I change the following
> 
> (defun mh-recenter (arg)
>   ;; Like recenter but with two improvements: nil arg means recenter,
>   ;; and only does anything if the current buffer is in the selected
>   ;; window.  (Commands like save-some-buffers can make this false.)
>   (if (eq (get-buffer-window (current-buffer))
>         (selected-window))
>       (recenter (if arg arg '(t)))))
> 
> to
> 
> (defun mh-recenter (arg)
>   ;; Like recenter but with two improvements: nil arg means recenter,
>   ;; and only does anything if the current buffer is in the selected
>   ;; window.  (Commands like save-some-buffers can make this false.)
>   (if (eq (get-buffer-window (current-buffer))
>         (selected-window))
>       (recenter (if arg arg t))))
> 
> I get the old and correct behavior.
> 
> It appears that recenter isn't behaving the same, and I don't if this
> was intentional or not.

Thanks for the report.  I think recenter is okay, but mh-e should
have used t instead of `(t)'.  I've fixed that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]