Fix point location when completing in gdb-mi.el
* lisp/progmodes/gdb-mi.el (def-gdb-auto-update-handler): Don't force window-start position, so that redisplay doesn't move point when popping completion window below the GUD one. (Bug#45052)
This commit is contained in:
parent
2dbc95063b
commit
668f0a7f84
1 changed files with 1 additions and 1 deletions
|
@ -2891,7 +2891,7 @@ If NOPRESERVE is non-nil, window point is not restored after CUSTOM-DEFUN."
|
|||
(,custom-defun)
|
||||
(gdb-update-buffer-name)
|
||||
,@(when (not nopreserve)
|
||||
'((set-window-start window start)
|
||||
'((set-window-start window start t)
|
||||
(set-window-point window p))))))
|
||||
|
||||
(defmacro def-gdb-trigger-and-handler (trigger-name gdb-command
|
||||
|
|
Loading…
Add table
Reference in a new issue