Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case in disambiguation of variable or function definition of a symbol #326

Closed
whxvd opened this issue Jul 20, 2023 · 0 comments
Closed

Case in disambiguation of variable or function definition of a symbol #326

whxvd opened this issue Jul 20, 2023 · 0 comments

Comments

@whxvd
Copy link

whxvd commented Jul 20, 2023

The Emacs Lisp manual states:

[W]hen a symbol has both a function definition and a variable definition, and you want to refer to just one of them, you can specify which one by writing one of the words ‘variable’, ‘option’, ‘function’, or ‘command’, immediately before the symbol name. (Case makes no difference in recognizing these indicator words.)

However, helpful-function seems to only do the disambiguation when, e.g., "function" or "variable" is given in lower case.

(defun f ()
  "Function `buffer-file-name' or function `buffer-file-name'.
  Variable `buffer-file-name' or variable `buffer-file-name'."
  nil)

Following the link to Function `buffer-file-name' or Variable `buffer-file-name' in the helpful buffer for f still asks for disambiguation.

@Wilfred Wilfred closed this as completed in 737ff82 Oct 7, 2023
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

No branches or pull requests

1 participant