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

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

bug#6095: 24.0.50; code error in accept-change-group


From: Chong Yidong
Subject: bug#6095: 24.0.50; code error in accept-change-group
Date: Mon, 23 Apr 2012 23:48:49 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)

Andreas Politz <address@hidden> writes:

> (defun accept-change-group (handle)
>   "Finish a change group made with `prepare-change-group' (which see).
> This finishes the change group by accepting its changes as final."
>   (dolist (elt handle)
>     (with-current-buffer (car elt)
>       (if (eq elt t)
>         (setq buffer-undo-list t)))))
>
> I think this should be more like `(eq (cdr elt) t)', it should
> redeactivate undo.  This test can not possibly succeed anyway.

Committed to trunk, thanks.





reply via email to

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