emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug]org-mode with flyspell-mode freezes emacs


From: martin rudalics
Subject: Re: [bug]org-mode with flyspell-mode freezes emacs
Date: Tue, 17 Oct 2006 16:18:26 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Does it happen with the following?

(defun flyspell-word-search-backward (word bound)
  (save-excursion
    (let ((r '())
          p
          (oldp t))
      (while (and (not r) (setq p (search-backward word bound t)))
        (let ((lw (flyspell-get-word '())))
          (cond
           ((and (consp lw) (string-equal (car lw) word))
            (setq r p))
           ((equal p oldp)
            (setq r t))
           (t
            (setq oldp p)
            (goto-char p)))))
      r)))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]