aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2020-01-17 11:35:35 +0200
committerEli Zaretskii2020-01-17 11:35:35 +0200
commita785be29bf2f7dba3c0713145e1a08af79e0020e (patch)
tree56218041ed55938e5fb1a6618260b8d485823aaa
parent0d3d3be35cb14db6716b45456862acb846de1a67 (diff)
downloademacs-a785be29bf2f7dba3c0713145e1a08af79e0020e.tar.gz
emacs-a785be29bf2f7dba3c0713145e1a08af79e0020e.zip
Fix wording and punctuation of a recent commit
* lisp/textmodes/ispell.el (ispell-correct-p): Doc fix. * lisp/emacs-lisp/checkdoc.el (checkdoc-ispell-init): Fix capitalization and punctuation of comments.
-rw-r--r--lisp/emacs-lisp/checkdoc.el4
-rw-r--r--lisp/textmodes/ispell.el6
2 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index cbad6f05541..ccdddb47c35 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -2110,8 +2110,8 @@ nil."
2110 (unless ispell-process 2110 (unless ispell-process
2111 (condition-case nil 2111 (condition-case nil
2112 (progn 2112 (progn
2113 (ispell-set-spellchecker-params) ; Initialize variables and dicts alists 2113 (ispell-set-spellchecker-params) ; Initialize variables and dict alists.
2114 (ispell-accept-buffer-local-defs) ; use the correct dictionary 2114 (ispell-accept-buffer-local-defs) ; Use the correct dictionary.
2115 ;; This code copied in part from ispell.el Emacs 19.34 2115 ;; This code copied in part from ispell.el Emacs 19.34
2116 (dolist (w checkdoc-ispell-lisp-words) 2116 (dolist (w checkdoc-ispell-lisp-words)
2117 (process-send-string ispell-process (concat "@" w "\n")))) 2117 (process-send-string ispell-process (concat "@" w "\n"))))
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index c06f3915faa..fc529a83596 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2015,7 +2015,7 @@ quit spell session exited."
2015 2015
2016(defun ispell--run-on-word (word) 2016(defun ispell--run-on-word (word)
2017 "Run ispell on WORD." 2017 "Run ispell on WORD."
2018 (ispell-send-string "%\n") ; put in verbose mode 2018 (ispell-send-string "%\n") ; Put the speller in verbose mode.
2019 (ispell-send-string (concat "^" word "\n")) 2019 (ispell-send-string (concat "^" word "\n"))
2020 ;; wait until ispell has processed word 2020 ;; wait until ispell has processed word
2021 (while (progn 2021 (while (progn
@@ -2035,13 +2035,13 @@ quit spell session exited."
2035 (or ispell-current-dictionary "default"))) 2035 (or ispell-current-dictionary "default")))
2036 2036
2037(defun ispell-correct-p (&optional following) 2037(defun ispell-correct-p (&optional following)
2038 "Return t if the word at point is correct. Nil otherwise. 2038 "Return t if the word at point is correct, nil otherwise.
2039 2039
2040If optional argument FOLLOWING is non-nil then the following 2040If optional argument FOLLOWING is non-nil then the following
2041word (rather than preceding) is checked when the cursor is not 2041word (rather than preceding) is checked when the cursor is not
2042over a word." 2042over a word."
2043 (save-excursion 2043 (save-excursion
2044 ;; reset ispell-filter so it only contains the result of 2044 ;; Reset ispell-filter so it only contains the result of
2045 ;; spell-checking the current-word: 2045 ;; spell-checking the current-word:
2046 (setq ispell-filter nil) 2046 (setq ispell-filter nil)
2047 (let* ((word-and-boundaries (ispell-get-word following)) 2047 (let* ((word-and-boundaries (ispell-get-word following))