aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc
diff options
context:
space:
mode:
authorPaul Eggert2019-11-11 10:30:13 -0800
committerPaul Eggert2019-11-11 10:32:53 -0800
commit6b4a97c1c78f39ce890d100acceceb652d14e20d (patch)
tree9d9f8347a952226adcd73680ed89c5679d6e5326 /lisp/erc
parent269796288a43520a1dcc481337af472d086faaa4 (diff)
downloademacs-6b4a97c1c78f39ce890d100acceceb652d14e20d.tar.gz
emacs-6b4a97c1c78f39ce890d100acceceb652d14e20d.zip
Fix some quoting glitches in doc strings
Diffstat (limited to 'lisp/erc')
-rw-r--r--lisp/erc/erc-autoaway.el14
-rw-r--r--lisp/erc/erc-services.el2
2 files changed, 8 insertions, 8 deletions
diff --git a/lisp/erc/erc-autoaway.el b/lisp/erc/erc-autoaway.el
index 83a738fd079..608f89902d3 100644
--- a/lisp/erc/erc-autoaway.el
+++ b/lisp/erc/erc-autoaway.el
@@ -37,7 +37,7 @@ yourself back when you type something."
37 37
38(defvar erc-autoaway-idletimer nil 38(defvar erc-autoaway-idletimer nil
39 "The Emacs idletimer. 39 "The Emacs idletimer.
40This is only used when `erc-autoaway-idle-method' is set to 'emacs.") 40This is only used when `erc-autoaway-idle-method' is set to `emacs'.")
41 41
42(defvar erc-autoaway-last-sent-time (erc-current-time) 42(defvar erc-autoaway-last-sent-time (erc-current-time)
43 "The last time the user sent something.") 43 "The last time the user sent something.")
@@ -50,7 +50,7 @@ user's away status.")
50 50
51(defun erc-autoaway-reestablish-idletimer () 51(defun erc-autoaway-reestablish-idletimer ()
52 "Reestablish the Emacs idletimer. 52 "Reestablish the Emacs idletimer.
53If `erc-autoaway-idle-method' is 'emacs, you must call this 53If `erc-autoaway-idle-method' is `emacs', you must call this
54function each time you change `erc-autoaway-idle-seconds'." 54function each time you change `erc-autoaway-idle-seconds'."
55 (interactive) 55 (interactive)
56 (when erc-autoaway-idletimer 56 (when erc-autoaway-idletimer
@@ -70,7 +70,7 @@ If none is found, return nil."
70 "Add autoaway reset function to `post-command-hook' if at least one 70 "Add autoaway reset function to `post-command-hook' if at least one
71ERC process is alive. 71ERC process is alive.
72 72
73This is used when `erc-autoaway-idle-method' is 'user." 73This is used when `erc-autoaway-idle-method' is `user'."
74 (when (or server (erc-autoaway-some-server-buffer)) 74 (when (or server (erc-autoaway-some-server-buffer))
75 (add-hook 'post-command-hook 'erc-autoaway-reset-idle-user))) 75 (add-hook 'post-command-hook 'erc-autoaway-reset-idle-user)))
76 76
@@ -78,7 +78,7 @@ This is used when `erc-autoaway-idle-method' is 'user."
78 "Remove the autoaway reset function from `post-command-hook' if 78 "Remove the autoaway reset function from `post-command-hook' if
79no ERC process is alive. 79no ERC process is alive.
80 80
81This is used when `erc-autoaway-idle-method' is 'user." 81This is used when `erc-autoaway-idle-method' is `user'."
82 (unless (erc-autoaway-some-server-buffer) 82 (unless (erc-autoaway-some-server-buffer)
83 (remove-hook 'post-command-hook 'erc-autoaway-reset-idle-user))) 83 (remove-hook 'post-command-hook 'erc-autoaway-reset-idle-user)))
84 84
@@ -140,9 +140,9 @@ Related variables: `erc-public-away-p' and `erc-away-nickname'."
140 140
141(defcustom erc-autoaway-idle-method 'user 141(defcustom erc-autoaway-idle-method 'user
142 "The method used to determine how long you have been idle. 142 "The method used to determine how long you have been idle.
143If 'user, the time of the last command sent to Emacs is used. 143If `user', the time of the last command sent to Emacs is used.
144If 'emacs, the idle time in Emacs is used. 144If `emacs', the idle time in Emacs is used.
145If 'irc, the time of the last IRC command is used. 145If `irc', the time of the last IRC command is used.
146 146
147The time itself is specified by `erc-autoaway-idle-seconds'. 147The time itself is specified by `erc-autoaway-idle-seconds'.
148 148
diff --git a/lisp/erc/erc-services.el b/lisp/erc/erc-services.el
index b8eef7f618f..fcf73507ac2 100644
--- a/lisp/erc/erc-services.el
+++ b/lisp/erc/erc-services.el
@@ -289,7 +289,7 @@ NICK is nickserv's nickname. Use nick@server where necessary/possible.
289KEYWORD is the keyword to use in the reply message to identify yourself. 289KEYWORD is the keyword to use in the reply message to identify yourself.
290USE-CURRENT indicates whether the current nickname must be used when 290USE-CURRENT indicates whether the current nickname must be used when
291 identifying. 291 identifying.
292ANSWER is the command to use for the answer. The default is 'privmsg. 292ANSWER is the command to use for the answer. The default is `privmsg'.
293SUCCESS-REGEXP is a regular expression matching the message nickserv 293SUCCESS-REGEXP is a regular expression matching the message nickserv
294 sends when you've successfully identified. 294 sends when you've successfully identified.
295The last two elements are optional." 295The last two elements are optional."