aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReuben Thomas2016-12-04 14:37:37 +0000
committerReuben Thomas2016-12-13 19:43:49 +0000
commit6e88249cdcfefee6ed8f27ff4e93e433ac58ada0 (patch)
tree264acf81846c2fe855d98003171cc7e0a62bc0ef
parent8245e5b9b00b4a839aa201d7883d5e55e8f66879 (diff)
downloademacs-6e88249cdcfefee6ed8f27ff4e93e433ac58ada0.tar.gz
emacs-6e88249cdcfefee6ed8f27ff4e93e433ac58ada0.zip
Remove XEmacs-specific horizontal scrollbar handling in ispell.el
* lisp/textmodes/ispell.el (ispell-command-loop): Remove XEmacs-specific code.
-rw-r--r--lisp/textmodes/ispell.el10
1 files changed, 2 insertions, 8 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index f0bb5693515..8978d1460bc 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2094,15 +2094,9 @@ Global `ispell-quit' set to start location to continue spell session."
2094 "-- %b -- word: " word 2094 "-- %b -- word: " word
2095 " -- dict: " (or ispell-current-dictionary "default") 2095 " -- dict: " (or ispell-current-dictionary "default")
2096 " -- prog: " (file-name-nondirectory ispell-program-name))) 2096 " -- prog: " (file-name-nondirectory ispell-program-name)))
2097 ;; XEmacs: no need for horizontal scrollbar in choices window 2097 ;; No need for horizontal scrollbar in choices window
2098 (ispell-with-no-warnings 2098 (ispell-with-no-warnings
2099 (and (fboundp 'set-specifier) 2099 (setq horizontal-scroll-bar nil))
2100 (boundp 'horizontal-scrollbar-visible-p)
2101 (set-specifier horizontal-scrollbar-visible-p nil
2102 (cons (current-buffer) nil))))
2103 (ispell-with-no-warnings
2104 (and (boundp 'horizontal-scroll-bar)
2105 (setq horizontal-scroll-bar nil)))
2106 (erase-buffer) 2100 (erase-buffer)
2107 (if guess 2101 (if guess
2108 (progn 2102 (progn