[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64902: 30.0.50; REQUIRE-MATCH completing-read arg in describe-* comm
From: |
Thierry Volpiatto |
Subject: |
bug#64902: 30.0.50; REQUIRE-MATCH completing-read arg in describe-* commands |
Date: |
Tue, 15 Aug 2023 15:41:01 +0000 |
Hello Stefan,
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Having tried now I see that the command signals an error when
> symbol-function is void.
Assuming that "the command" is `describe-function` and you mean the
argument SYMBOL of `symbol-function` is void (I hardly see why
`symbol-function` would be void), I can't reproduce your
error, here a small recipe:
(defun advice-foo-test ()
(message "Hello"))
(advice-add 'foo-test :override 'advice-foo-test)
C-h f foo-test RET
=>
,----
| foo-test is .
|
| [Missing arglist.]
|
| Not documented.
`----
(symbol-function 'foo-test)
=> nil (no errors)
(foo-test)
=> Error:Void function foo-test (as expected)
> Apparently this use-case is not tested enough to keep it working, so
> I've changed my mind: I just reverted my change.
Ok, thanks.
> Thanks for bringing it up :-)
You are welcome.
--
Thierry
signature.asc
Description: PGP signature
bug#64902: 30.0.50; REQUIRE-MATCH completing-read arg in describe-* commands, Thierry Volpiatto, 2023/08/05