summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-autoaway.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-11-11 10:30:13 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-11-11 10:32:53 -0800
commit6b4a97c1c78f39ce890d100acceceb652d14e20d (patch)
tree9d9f8347a952226adcd73680ed89c5679d6e5326 /lisp/erc/erc-autoaway.el
parent269796288a43520a1dcc481337af472d086faaa4 (diff)
downloademacs-6b4a97c1c78f39ce890d100acceceb652d14e20d.tar.gz
Fix some quoting glitches in doc strings
Diffstat (limited to 'lisp/erc/erc-autoaway.el')
-rw-r--r--lisp/erc/erc-autoaway.el14
1 files changed, 7 insertions, 7 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."
(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'.