Commit d97a77c4 authored by Glenn Morris's avatar Glenn Morris

Merge from origin/emacs-27

4df0c1c6 (origin/emacs-27) ; * src/lread.c (force_new_style_backquo...
069741b2 ; * etc/NEWS: Mention latest changes in checkdoc.  (Bug#38...
a785be29 Fix wording and punctuation of a recent commit
0d3d3be3 Merge branch 'emacs-27' of
5da372e1 ; Minor edit in anti.texi

# Conflicts:
#	etc/NEWS
parents 8c376493 4df0c1c6
Pipeline #4595 passed with stage
in 54 minutes and 27 seconds
......@@ -1458,6 +1458,14 @@ A new command 'xref-revert-buffer' is bound to 'g'.
*** Imenu support has been added to 'xref--xref-buffer-mode'.
** Checkdoc
*** Checkdoc can now optionally spell-check doc strings.
Invoking 'checkdoc-buffer' with a non-nil TAKE-NOTES argument
(interactively, with a prefix arg) will now spell-check the doc
strings and report all the spelling mistakes.
** Icomplete
......@@ -2110,8 +2110,8 @@ nil."
(unless ispell-process
(condition-case nil
(ispell-set-spellchecker-params) ; Initialize variables and dicts alists
(ispell-accept-buffer-local-defs) ; use the correct dictionary
(ispell-set-spellchecker-params) ; Initialize variables and dict alists.
(ispell-accept-buffer-local-defs) ; Use the correct dictionary.
;; This code copied in part from ispell.el Emacs 19.34
(dolist (w checkdoc-ispell-lisp-words)
(process-send-string ispell-process (concat "@" w "\n"))))
......@@ -2015,7 +2015,7 @@ quit spell session exited."
(defun ispell--run-on-word (word)
"Run ispell on WORD."
(ispell-send-string "%\n") ; put in verbose mode
(ispell-send-string "%\n") ; Put the speller in verbose mode.
(ispell-send-string (concat "^" word "\n"))
;; wait until ispell has processed word
(while (progn
......@@ -2035,13 +2035,13 @@ quit spell session exited."
(or ispell-current-dictionary "default")))
(defun ispell-correct-p (&optional following)
"Return t if the word at point is correct. Nil otherwise.
"Return t if the word at point is correct, nil otherwise.
If optional argument FOLLOWING is non-nil then the following
word (rather than preceding) is checked when the cursor is not
over a word."
;; reset ispell-filter so it only contains the result of
;; Reset ispell-filter so it only contains the result of
;; spell-checking the current-word:
(setq ispell-filter nil)
(let* ((word-and-boundaries (ispell-get-word following))
......@@ -5070,7 +5070,7 @@ that are loaded before your customizations are read! */);
If nil, `load' and `read' raise errors when encountering some
old-style variants of backquote and comma. If non-nil, these
constructs are always interpreted as described in the Info node
`(elisp)Backquotes', even if that interpretation is incompatible with
`(elisp)Backquote', even if that interpretation is incompatible with
previous versions of Emacs. Setting this variable to non-nil makes
Emacs compatible with the behavior planned for Emacs 28. In Emacs 28,
this variable will become obsolete. */);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment