tools/debugger: fix invalid-function "..." error

...when invoking debugger, due to minibuffer-history being evaluated for
some reason.
This commit is contained in:
Henrik Lissner 2019-11-25 18:39:51 -05:00
parent f6ec3181c8
commit 9a93aa1df9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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 " "))))