+++
*** New command 'ispell-comment-or-string-at-point'.
+---
+*** New user option 'ispell-help-timeout'.
+This controls how long the ispell help (on the '?' key) is displayed.
+
** Flyspell mode
+++
(const :tag "default" nil))
(coding-system :tag "Coding System"))))
+(defcustom ispell-help-timeout 5
+ "The number of seconds to display the help text."
+ :type 'number
+ :version "28.1")
(defvar ispell-dictionary-base-alist
'((nil ; default
(with-current-buffer buffer
(insert (concat help-1 "\n" help-2 "\n" help-3)))
(ispell-display-buffer buffer)
- (sit-for 5)
+ (sit-for ispell-help-timeout)
(kill-buffer "*Ispell Help*"))
(unwind-protect
(let ((resize-mini-windows 'grow-only))
;;(set-minibuffer-window (selected-window))
(enlarge-window 2)
(insert (concat help-1 "\n" help-2 "\n" help-3))
- (sit-for 5))
+ (sit-for ispell-help-timeout))
(erase-buffer)))))))
(define-obsolete-function-alias 'lookup-words 'ispell-lookup-words "24.4")