summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-05-02 15:39:30 -0400
committerGlenn Morris <rgm@gnu.org>2018-05-02 15:39:30 -0400
commit05e9477ab5d5dba1b960415d60b9957caa90da48 (patch)
treeab835493c667a963cd0b6615e941d9dbdf879055 /lisp/textmodes
parent9de7e321b63bf38afef5e3f0e786dd4a046d407a (diff)
downloademacs-05e9477ab5d5dba1b960415d60b9957caa90da48.tar.gz
* lisp/textmodes/ispell.el (ispell-use-framepop-p): Doc fix.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el4
1 files changed, 3 insertions, 1 deletions
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)