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:
parent
6b16ab4871
commit
ed233dd8cb
@ -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)))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user