mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
; Fix last change
* lisp/textmodes/flyspell.el (flyspell-generic-progmode-verify): Fix capitalization and whitespace of last change.
This commit is contained in:
parent
87d13146b2
commit
17aa3a7e13
1 changed files with 3 additions and 3 deletions
|
|
@ -406,10 +406,10 @@ like <img alt=\"Some thing.\">."
|
|||
"Used for `flyspell-generic-check-word-predicate' in programming modes."
|
||||
(cl-flet ((has-prog-face (pos) (memq (get-text-property pos 'face)
|
||||
flyspell-prog-text-faces)))
|
||||
;; point might be in front of, inside or behind the misspelled word
|
||||
(or (has-prog-face (point)) ;check char after point
|
||||
;; Point might be in front of, inside, or behind the misspelled word
|
||||
(or (has-prog-face (point)) ; check char after point
|
||||
(and (not (eql (point) (point-min)))
|
||||
(has-prog-face (1- (point))))))) ;check char before point
|
||||
(has-prog-face (1- (point))))))) ; check char before point
|
||||
|
||||
;;;###autoload
|
||||
(defun flyspell-prog-mode ()
|
||||
|
|
|
|||
Loading…
Reference in a new issue