tools/debugger: fix invalid-function "..." error
...when invoking debugger, due to minibuffer-history being evaluated for some reason.
This commit is contained in:
parent
f6ec3181c8
commit
9a93aa1df9
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,8 @@
|
|||
(if (boundp 'starting-directory)
|
||||
(realgud-cmdbuf-info-starting-directory= starting-directory))
|
||||
(set minibuffer-history-var
|
||||
(cl-remove-duplicates
|
||||
(cons cmd-str (eval minibuffer-history)) :from-end))))))
|
||||
(cl-remove-duplicates (cons cmd-str minibuffer-history)
|
||||
:from-end t))))))
|
||||
(t
|
||||
(if cmd-buf (switch-to-buffer cmd-buf))
|
||||
(message "Error running command: %s" (mapconcat #'identity cmd-args " "))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue