1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(ibuffer-redisplay-current): Don't move point when redisplaying a

line.
This commit is contained in:
Colin Walters 2002-03-13 02:31:26 +00:00
parent 6b16ab4871
commit ed233dd8cb

View File

@ -1585,10 +1585,11 @@ become unmarked."
(let ((buf (ibuffer-current-buffer)))
(when buf
(let ((mark (ibuffer-current-mark)))
(save-excursion
(delete-region (point) (1+ (line-end-position)))
(ibuffer-insert-buffer-line
buf mark
(ibuffer-current-format))
(ibuffer-current-format)))
(when ibuffer-shrink-to-minimum-size
(ibuffer-shrink-to-fit)))))))