From 9a93aa1df99423c57e08147e3219f059a00b60a5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 25 Nov 2019 18:39:51 -0500 Subject: [PATCH] tools/debugger: fix invalid-function "..." error ...when invoking debugger, due to minibuffer-history being evaluated for some reason. --- modules/tools/debugger/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tools/debugger/config.el b/modules/tools/debugger/config.el index f75993866..8c62c94b1 100644 --- a/modules/tools/debugger/config.el +++ b/modules/tools/debugger/config.el @@ -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 " "))))