summaryrefslogtreecommitdiff
path: root/lisp/so-long.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/so-long.el
parent269796288a43520a1dcc481337af472d086faaa4 (diff)
downloademacs-6b4a97c1c78f39ce890d100acceceb652d14e20d.tar.gz
Fix some quoting glitches in doc strings
Diffstat (limited to 'lisp/so-long.el')
-rw-r--r--lisp/so-long.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/so-long.el b/lisp/so-long.el
index 43602b48313..b5eb1242156 100644
--- a/lisp/so-long.el
+++ b/lisp/so-long.el
@@ -1342,7 +1342,7 @@ This is the `so-long-revert-function' for `so-long-mode'."
(defun so-long-mode-downgrade (&optional mode)
"The default value for `so-long-file-local-mode-function'.
-A buffer-local 'downgrade' from `so-long-mode' to `so-long-minor-mode'.
+A buffer-local \"downgrade\" from `so-long-mode' to `so-long-minor-mode'.
When `so-long-function' is set to `so-long-mode', then we change it to to
`turn-on-so-long-minor-mode' instead -- retaining the file-local major
@@ -1373,13 +1373,13 @@ This is a `so-long-file-local-mode-function' option."
;; See also "Files with a file-local 'mode'" in the Commentary.
"Handle the header-comments processing in `set-auto-mode'.
-`set-auto-mode' has some special-case code to handle the 'mode' pseudo-variable
+`set-auto-mode' has some special-case code to handle the `mode' pseudo-variable
when set in the header comment. This runs outside of `hack-local-variables'
and cannot be conveniently intercepted, so we are forced to replicate it here.
This special-case code will ultimately be removed from Emacs, as it exists to
deal with a deprecated feature; but until then we need to replicate it in order
-to inhibit our own behaviour in the presence of a header comment 'mode'
+to inhibit our own behavior in the presence of a header comment `mode'
declaration.
If a file-local mode is detected in the header comment, then we call the
@@ -1496,7 +1496,7 @@ major mode is a member (or derivative of a member) of `so-long-target-modes'.
This advice is needed and enabled only for Emacs versions < 26.1.
-If the local 'mode' pseudo-variable is used, `set-auto-mode-0' will call it
+If the local `mode' pseudo-variable is used, `set-auto-mode-0' will call it
firstly, and subsequently `hack-one-local-variable' may call it again.
Usually `hack-one-local-variable' tries to avoid processing that second call,