[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/gnus-select 98cca72 140/218: Better support for 't
From: |
Andrew G Cohen |
Subject: |
[Emacs-diffs] feature/gnus-select 98cca72 140/218: Better support for 'transpose-chars' in Flyspell mode |
Date: |
Fri, 14 Dec 2018 03:35:17 -0500 (EST) |
branch: feature/gnus-select
commit 98cca7258d764449d0bf4bffb86d38611f0fe3e7
Author: Aaron Jensen <address@hidden>
Commit: Andrew G Cohen <address@hidden>
Better support for 'transpose-chars' in Flyspell mode
* lisp/textmodes/flyspell.el (flyspell-post-command-hook): Check
word before previous point location after 'transpose-chars'.
(Bug#30813)
---
lisp/textmodes/flyspell.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index e462669..b5c8414 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -982,6 +982,11 @@ Mostly we check word delimiters."
(let ((command this-command)
;; Prevent anything we do from affecting the mark.
deactivate-mark)
+ (if (and (eq command 'transpose-chars)
+ flyspell-pre-point)
+ (save-excursion
+ (goto-char (- flyspell-pre-point 1))
+ (flyspell-word)))
(if (flyspell-check-pre-word-p)
(save-excursion
'(flyspell-debug-signal-pre-word-checked)
- [Emacs-diffs] feature/gnus-select ec18ff5 118/218: Followup to last change in browse-url.el, (continued)
- [Emacs-diffs] feature/gnus-select ec18ff5 118/218: Followup to last change in browse-url.el, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select 10794c8 119/218: Print top time consuming tests if advised, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select 1ac0958 123/218: Fix recently-added POP doc glitch, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select 0f8f94d 121/218: Fix frame resize flicker on macOS (bug#30699), Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select b3c36c4 122/218: Revert move of interactive `transpose-regions' to Lisp, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select 24e07c4 129/218: Tune time zone 0, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select a3605b6 130/218: * test/lisp/info-xref-tests.el (info-xref-test-emacs-manuals): New., Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select 15d031e 128/218: * doc/emacs/building.texi (Starting GUD): Mention 'guiler'., Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select c5dd420 112/218: Move interactive `transpose-regions' to Lisp, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select abe37f8 127/218: Yet more proofreading of the Emacs manual, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select 98cca72 140/218: Better support for 'transpose-chars' in Flyspell mode,
Andrew G Cohen <=
- [Emacs-diffs] feature/gnus-select f1168aa 139/218: Correct Info link markup, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select a5db603 137/218: Minor improvements in building.texi, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select 7325e18 146/218: * cc-engine.el (c-looking-at-or-maybe-in-bracelist): Remove pessimization, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select cbea6b1 145/218: Avoid redisplay problems with too wide wrap-prefix, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select 3b5438f 148/218: Revert "Support all perl variable declarators and prefixes", Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select e31b277 152/218: * lisp/play/fortune.el (fortune-in-buffer): Unadvertise no-op arg., Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select 246460c 155/218: Add tests for Bug#30408, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select d219c99 143/218: Autoupdate from Gnulib, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select b6d216c 169/218: Tag tramp-test39-utf8* as :unstable, Andrew G Cohen, 2018/12/14
- [Emacs-diffs] feature/gnus-select b74e19e 159/218: * lisp/play/fortune.el (fortune-in-buffer): Revert previous nonsense., Andrew G Cohen, 2018/12/14