Merge pull request #2412 from Gollum999/patch-1
Fix garbage minibuffer history when launching debugger
This commit is contained in:
commit
87de82668d
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