Merge from origin/emacs-27

4df0c1c6c4 (origin/emacs-27) ; * src/lread.c (force_new_style_backquo...
069741b2f7 ; * etc/NEWS: Mention latest changes in checkdoc.  (Bug#38...
a785be29bf Fix wording and punctuation of a recent commit
0d3d3be35c Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/e...
5da372e17e ; Minor edit in anti.texi

# Conflicts:
#	etc/NEWS
This commit is contained in:
Glenn Morris 2020-01-17 07:50:28 -08:00
commit d97a77c481
4 changed files with 14 additions and 6 deletions

View file

@ -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
+++

View file

@ -2110,8 +2110,8 @@ nil."
(unless ispell-process
(condition-case nil
(progn
(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"))))

View file

@ -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."
(save-excursion
;; 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))

View file

@ -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. */);