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

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

bug#36486: [PATCH] Add tests for text-property-search to check prop-matc


From: Lars Ingebrigtsen
Subject: bug#36486: [PATCH] Add tests for text-property-search to check prop-match-value
Date: Mon, 08 Jul 2019 18:18:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> +   (let* ((property (completing-read "Search for property: " obarray))
> +          (property (when (> (length property) 0)
> +                      (intern property obarray)))
> +          (value (when property
> +                   (completing-read "Search for property value: " obarray)))
> +          (value (when (> (length value) 0)
> +                   (intern value obarray))))

Hm...  well, the value doesn't have to be a symbol, so I don't think
this is quite right -- it could be a string, or, well, anything.  I
think that's why it doesn't prompt for value in the interactive form,
because it didn't seem useful.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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