comparison lisp/textmodes/ispell.el @ 87941:d77b6e5ee8af

* sieve.el (sieve-make-overlay, sieve-overlay-put, sieve-overlays-at): * message.el (message-beginning-of-line): Use featurep instead of bound tests in order to resolve conditionals at compile time. * textmodes/reftex-toc.el (reftex-toc-next, reftex-toc-previous) (reftex-toc-restore-region): * textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer) (reftex-index-phrases-apply-to-region): * textmodes/ispell.el (ispell-word): * progmodes/vhdl-mode.el (vhdl-keep-region-active): * progmodes/pascal.el (pascal-mark-defun): * progmodes/f90.el (f90-mark-subprogram, f90-indent-region) (f90-fill-region): * emulation/tpu-edt.el (tpu-set-mark): * emulation/crisp.el (crisp-region-active): * winner.el (winner-active-region): * ansi-color.el (ansi-color-set-extent-face): Use featurep instead of bound tests in order to resolve conditionals at compile time.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 24 Jan 2008 15:14:52 +0000
parents 107ccd98fa12
children c70e45a7acfd
comparison
equal deleted inserted replaced
87940:657fb7a7fe8e 87941:d77b6e5ee8af
1625 (setq poss (ispell-parse-output (car ispell-filter))))) 1625 (setq poss (ispell-parse-output (car ispell-filter)))))
1626 (cond ((eq poss t) 1626 (cond ((eq poss t)
1627 (or quietly 1627 (or quietly
1628 (message "%s is correct" 1628 (message "%s is correct"
1629 (funcall ispell-format-word-function word))) 1629 (funcall ispell-format-word-function word)))
1630 (and (fboundp 'extent-at) 1630 (and (featurep 'xemacs)
1631 (extent-at start) 1631 (extent-at start)
1632 (and (fboundp 'delete-extent) 1632 (and (fboundp 'delete-extent)
1633 (delete-extent (extent-at start))))) 1633 (delete-extent (extent-at start)))))
1634 ((stringp poss) 1634 ((stringp poss)
1635 (or quietly 1635 (or quietly
1636 (message "%s is correct because of root %s" 1636 (message "%s is correct because of root %s"
1637 (funcall ispell-format-word-function word) 1637 (funcall ispell-format-word-function word)
1638 (funcall ispell-format-word-function poss))) 1638 (funcall ispell-format-word-function poss)))
1639 (and (fboundp 'extent-at) 1639 (and (featurep 'xemacs)
1640 (extent-at start) 1640 (extent-at start)
1641 (and (fboundp 'delete-extent) 1641 (and (fboundp 'delete-extent)
1642 (delete-extent (extent-at start))))) 1642 (delete-extent (extent-at start)))))
1643 ((null poss) (message "Error in ispell process")) 1643 ((null poss) (message "Error in ispell process"))
1644 (ispell-check-only ; called from ispell minor mode. 1644 (ispell-check-only ; called from ispell minor mode.