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

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

Re: Generality of defvar


From: Emanuel Berg
Subject: Re: Generality of defvar
Date: Wed, 27 Jul 2022 14:34:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

carlmarcos--- via Users list for the GNU Emacs text editor wrote:

> (defun enable-error-diagnostics ()
>   "Enable error diagnostics with backtrace buffer.
> One can exit the debugger with the q command."

You can refer to keys in docstrings like this:

  \\[forward-word]

That way, it isn't hardcoded so if later changed/configured
it'll still show the right key.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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