Fix garbage minibuffer history when launching debugger
9a93aa1df9 (commitcomment-36934820)
This commit is contained in:
parent
c503e89043
commit
7541611863
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@
|
||||||
(if (boundp 'starting-directory)
|
(if (boundp 'starting-directory)
|
||||||
(realgud-cmdbuf-info-starting-directory= starting-directory))
|
(realgud-cmdbuf-info-starting-directory= starting-directory))
|
||||||
(set minibuffer-history-var
|
(set minibuffer-history-var
|
||||||
(cl-remove-duplicates (cons cmd-str minibuffer-history)
|
(cl-remove-duplicates (cons cmd-str (eval minibuffer-history-var))
|
||||||
:from-end t))))))
|
:from-end t))))))
|
||||||
(t
|
(t
|
||||||
(if cmd-buf (switch-to-buffer cmd-buf))
|
(if cmd-buf (switch-to-buffer cmd-buf))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue