]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove XEmacs-specific horizontal scrollbar handling in ispell.el
authorReuben Thomas <rrt@sc3d.org>
Sun, 4 Dec 2016 14:37:37 +0000 (14:37 +0000)
committerReuben Thomas <rrt@sc3d.org>
Tue, 13 Dec 2016 19:43:49 +0000 (19:43 +0000)
* lisp/textmodes/ispell.el (ispell-command-loop): Remove
XEmacs-specific code.

lisp/textmodes/ispell.el

index f0bb569351577d61d5645c0685791b1c81672978..8978d1460bc44c5811534a84655b021c43653c24 100644 (file)
@@ -2094,15 +2094,9 @@ Global `ispell-quit' set to start location to continue spell session."
              "--  %b  --  word: " word
              "  --  dict: " (or ispell-current-dictionary "default")
              "  --  prog: " (file-name-nondirectory ispell-program-name)))
-      ;; XEmacs: no need for horizontal scrollbar in choices window
+      ;; No need for horizontal scrollbar in choices window
       (ispell-with-no-warnings
-       (and (fboundp 'set-specifier)
-           (boundp 'horizontal-scrollbar-visible-p)
-           (set-specifier horizontal-scrollbar-visible-p nil
-                          (cons (current-buffer) nil))))
-      (ispell-with-no-warnings
-       (and (boundp 'horizontal-scroll-bar)
-           (setq horizontal-scroll-bar nil)))
+       (setq horizontal-scroll-bar nil))
       (erase-buffer)
       (if guess
          (progn