1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix some quoting glitches in doc strings

This commit is contained in:
Paul Eggert 2019-11-11 10:30:13 -08:00
parent 269796288a
commit 6b4a97c1c7
74 changed files with 176 additions and 175 deletions

View file

@ -37,7 +37,7 @@ yourself back when you type something."
(defvar erc-autoaway-idletimer nil
"The Emacs idletimer.
This is only used when `erc-autoaway-idle-method' is set to 'emacs.")
This is only used when `erc-autoaway-idle-method' is set to `emacs'.")
(defvar erc-autoaway-last-sent-time (erc-current-time)
"The last time the user sent something.")
@ -50,7 +50,7 @@ user's away status.")
(defun erc-autoaway-reestablish-idletimer ()
"Reestablish the Emacs idletimer.
If `erc-autoaway-idle-method' is 'emacs, you must call this
If `erc-autoaway-idle-method' is `emacs', you must call this
function each time you change `erc-autoaway-idle-seconds'."
(interactive)
(when erc-autoaway-idletimer
@ -70,7 +70,7 @@ If none is found, return nil."
"Add autoaway reset function to `post-command-hook' if at least one
ERC process is alive.
This is used when `erc-autoaway-idle-method' is 'user."
This is used when `erc-autoaway-idle-method' is `user'."
(when (or server (erc-autoaway-some-server-buffer))
(add-hook 'post-command-hook 'erc-autoaway-reset-idle-user)))
@ -78,7 +78,7 @@ This is used when `erc-autoaway-idle-method' is 'user."
"Remove the autoaway reset function from `post-command-hook' if
no ERC process is alive.
This is used when `erc-autoaway-idle-method' is 'user."
This is used when `erc-autoaway-idle-method' is `user'."
(unless (erc-autoaway-some-server-buffer)
(remove-hook 'post-command-hook 'erc-autoaway-reset-idle-user)))
@ -140,9 +140,9 @@ Related variables: `erc-public-away-p' and `erc-away-nickname'."
(defcustom erc-autoaway-idle-method 'user
"The method used to determine how long you have been idle.
If 'user, the time of the last command sent to Emacs is used.
If 'emacs, the idle time in Emacs is used.
If 'irc, the time of the last IRC command is used.
If `user', the time of the last command sent to Emacs is used.
If `emacs', the idle time in Emacs is used.
If `irc', the time of the last IRC command is used.
The time itself is specified by `erc-autoaway-idle-seconds'.

View file

@ -289,7 +289,7 @@ NICK is nickserv's nickname. Use nick@server where necessary/possible.
KEYWORD is the keyword to use in the reply message to identify yourself.
USE-CURRENT indicates whether the current nickname must be used when
identifying.
ANSWER is the command to use for the answer. The default is 'privmsg.
ANSWER is the command to use for the answer. The default is `privmsg'.
SUCCESS-REGEXP is a regular expression matching the message nickserv
sends when you've successfully identified.
The last two elements are optional."