From: Glenn Morris Date: Wed, 2 May 2018 19:39:30 +0000 (-0400) Subject: * lisp/textmodes/ispell.el (ispell-use-framepop-p): Doc fix. X-Git-Tag: emacs-27.0.90~5064 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=05e9477ab5d5dba1b960415d60b9957caa90da48;p=emacs.git * lisp/textmodes/ispell.el (ispell-use-framepop-p): Doc fix. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 18bf2630e58..1dc39650861 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -326,11 +326,13 @@ The function must take one string argument and return a string." :type 'function :group 'ispell) +;; FIXME framepop.el last updated c 2003 (?), +;; probably something else replaces it these days. (defcustom ispell-use-framepop-p nil "When non-nil ispell uses framepop to display choices in a dedicated frame. You can set this variable to dynamically use framepop if you are in a window system by evaluating the following on startup to set this variable: - (and window-system (condition-case () (require \\='framepop) (error nil)))" + (and (display-graphic-p) (require \\='framepop nil t))" :type 'boolean :group 'ispell)