changeset 76290:d5094572b487

(org-self-insert-command) (orgtbl-self-insert-command, org-delete-char) (org-delete-backward-char): Set the `flyspell-delayed' property.
author Carsten Dominik <dominik@science.uva.nl>
date Sun, 04 Mar 2007 07:38:20 +0000
parents a9b7af014bd1
children 7d2b5814cd4e
files lisp/textmodes/org.el
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Sun Mar 04 07:37:15 2007 +0000
+++ b/lisp/textmodes/org.el	Sun Mar 04 07:38:20 2007 +0000
@@ -18767,6 +18767,13 @@
 (put 'org-delete-char 'delete-selection 'supersede)
 (put 'org-delete-backward-char 'delete-selection 'supersede)
 
+;; Make `flyspell-mode' delay after some commands
+(put 'org-self-insert-command 'flyspell-delayed t)
+(put 'orgtbl-self-insert-command 'flyspell-delayed t)
+(put 'org-delete-char 'flyspell-delayed t)
+(put 'org-delete-backward-char 'flyspell-delayed t)
+
+
 ;; How to do this: Measure non-white length of current string
 ;; If equal to column width, we should realign.