bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29763: New Feature: Remove unneeded eval-expression in minibuffer-hi


From: Andreas Schwab
Subject: bug#29763: New Feature: Remove unneeded eval-expression in minibuffer-history
Date: Fri, 22 Dec 2017 13:58:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

On Dez 17 2017, Robert Weiner <rsw@gnu.org> wrote:

> + (defun minibuffer-history-edit-element (elt)
> +   "Automatically simplify ELT if possible, e.g. removing eval-expression."
> +   (or (and (consp elt) (eq (car elt) 'eval-expression)
> +        ;; Remove eval-expression wrapper and leave just the expression.
> +        (cadadr elt))

That mishandles self-evaluating expressions, they are not wrapped with
quote.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]