diff options
| author | Pavel Janík | 2002-05-08 15:27:26 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-05-08 15:27:26 +0000 |
| commit | 58c68129403a20adb8e48a6601d21ecbca3ce285 (patch) | |
| tree | 92fe044ccf43ac1b108306d65b6aa168a3526c1e | |
| parent | 2ad631282de9153f26af91fe710e984b43f4c827 (diff) | |
| download | emacs-58c68129403a20adb8e48a6601d21ecbca3ce285.tar.gz emacs-58c68129403a20adb8e48a6601d21ecbca3ce285.zip | |
(make-flyspell-overlay): Add help text to flyspell overlays.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8540e3e670d..35ffcf5e01a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2002-05-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 1 | 2002-05-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> |
| 2 | 2 | ||
| 3 | * textmodes/flyspell.el (make-flyspell-overlay): Add help text | ||
| 4 | to flyspell overlays. | ||
| 5 | |||
| 3 | * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name. | 6 | * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name. |
| 4 | 7 | ||
| 5 | 2002-05-08 Richard M. Stallman <rms@gnu.org> | 8 | 2002-05-08 Richard M. Stallman <rms@gnu.org> |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index d481c2799a4..9d553a68845 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -550,9 +550,9 @@ in your .emacs file. | |||
| 550 | ;; otherwise it could be too late, the local dictionary may | 550 | ;; otherwise it could be too late, the local dictionary may |
| 551 | ;; be forgotten! | 551 | ;; be forgotten! |
| 552 | (flyspell-accept-buffer-local-defs) | 552 | (flyspell-accept-buffer-local-defs) |
| 553 | ;; we put the `flyspel-delayed' property on some commands | 553 | ;; we put the `flyspell-delayed' property on some commands |
| 554 | (flyspell-delay-commands) | 554 | (flyspell-delay-commands) |
| 555 | ;; we put the `flyspel-deplacement' property on some commands | 555 | ;; we put the `flyspell-deplacement' property on some commands |
| 556 | (flyspell-deplacement-commands) | 556 | (flyspell-deplacement-commands) |
| 557 | ;; we bound flyspell action to post-command hook | 557 | ;; we bound flyspell action to post-command hook |
| 558 | (add-hook 'post-command-hook (function flyspell-post-command-hook) t t) | 558 | (add-hook 'post-command-hook (function flyspell-post-command-hook) t t) |
| @@ -1495,6 +1495,7 @@ for the overlay." | |||
| 1495 | (overlay-put flyspell-overlay 'mouse-face mouse-face) | 1495 | (overlay-put flyspell-overlay 'mouse-face mouse-face) |
| 1496 | (overlay-put flyspell-overlay 'flyspell-overlay t) | 1496 | (overlay-put flyspell-overlay 'flyspell-overlay t) |
| 1497 | (overlay-put flyspell-overlay 'evaporate t) | 1497 | (overlay-put flyspell-overlay 'evaporate t) |
| 1498 | (overlay-put flyspell-overlay 'help-echo "mouse-2: correct word at point") | ||
| 1498 | (if flyspell-use-local-map | 1499 | (if flyspell-use-local-map |
| 1499 | (overlay-put flyspell-overlay | 1500 | (overlay-put flyspell-overlay |
| 1500 | flyspell-overlay-keymap-property-name | 1501 | flyspell-overlay-keymap-property-name |