branch: externals/minuet commit e0fff8472187e6c6044bb3f3bab11b6ff94e6a72 Author: Milan Glacier <d...@milanglacier.com> Commit: Milan Glacier <d...@milanglacier.com>
fix: ensure symbol-value is only called on symbols in `minuet--eval-value`. --- minuet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minuet.el b/minuet.el index faa3444d21..9e4af4be27 100644 --- a/minuet.el +++ b/minuet.el @@ -345,7 +345,7 @@ If value is a function (either lambda or a callable symbol), eval the function (with no argument) and return the result. Else if value is a symbol, return its value. Else return itself." (cond ((functionp value) (funcall value)) - ((boundp value) (symbol-value value)) + ((and (symbolp value) (boundp value)) (symbol-value value)) (t value))) (defun minuet--cancel-requests ()