Commit 56c601e
transient--describe-function: Handle describe-function overrides
`transient--describe-function' captures the help buffer via
`temp-buffer-window-setup-hook'. This works with the built-in
`describe-function', which displays its output via
`with-help-window' and therefore triggers the hook.
However, a common pattern in the Emacs community is to override
`describe-function' with a function provided by a packages like
`helpful'. `helpful-function' creates and displays its buffer
via `pop-to-buffer' rather than `with-help-window', so
`temp-buffer-window-setup-hook' never fires and `buffer' stays
nil, causing (set-buffer nil) to signal `wrong-type-argument'.
See #431.1 parent b4b5cc2 commit 56c601e
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5314 | 5314 | | |
5315 | 5315 | | |
5316 | 5316 | | |
5317 | | - | |
| 5317 | + | |
| 5318 | + | |
5318 | 5319 | | |
5319 | 5320 | | |
5320 | 5321 | | |
| |||
0 commit comments