Skip to content

feat: display interactive-only note in helpful buffer#367

Open
kovan wants to merge 1 commit intoWilfred:masterfrom
kovan:feat/interactive-only-note
Open

feat: display interactive-only note in helpful buffer#367
kovan wants to merge 1 commit intoWilfred:masterfrom
kovan:feat/interactive-only-note

Conversation

@kovan
Copy link
Copy Markdown

@kovan kovan commented Feb 27, 2026

Fixes #359 — displays interactive-only note in helpful buffer, matching describe-function behavior.

Handles all three value types: symbol alternative (forward-line), string message, and bare t. Rendered after obsolete-info, before Signature.

Verified on Emacs 30.2: next-lineforward-line (symbol), previous-line → string message, message → nil (no note). Includes 3 ERT tests.

When a command has the interactive-only property, display a prominent note matching what describe-function shows, e.g. "This command is for interactive use only; in Lisp code use foo instead."

Handles all three value types: symbol (shows alternative), string (shows custom message), and t (generic note).

Fix: Wilfred#359

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@kovan kovan marked this pull request as draft February 27, 2026 00:21
@kovan kovan marked this pull request as ready for review February 27, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: include interactive-only clause in command docs

1 participant