:help "Supply explicit path to dictionary"))
(define-key ispell-menu-map [ispell-kill-ispell]
'(menu-item "Kill Process" ispell-kill-ispell
- :enable (and ispell-process
+ :enable (and (boundp 'ispell-process) ispell-process
(eq (ispell-process-status) 'run))
:help "Terminate Ispell subprocess"))
(define-key ispell-menu-map [ispell-pdict-save]
(setq recheck-region ispell-filter
ispell-filter nil ; save filter
shift (ispell-region
- word-start
- (+ word-start (length replace-word))
- t shift))
+ word-start
+ (+ word-start (length replace-word))
+ t shift))
(if (null shift) ; quitting check.
(setq shift 0))
(set-marker ispell-region-end region-end)
;; Move line-start across word...
;; new shift function does this now...
;;(set-marker line-start (+ line-start
- ;; (- (length replace)
- ;; (length (car poss)))))
+ ;; (- (length replace)
+ ;; (length (car poss)))))
))
(if (not ispell-quit)
(let (message-log-max)
" \\|\t"))
(cite-regexp ;Prefix of quoted text
(cond
- ((featurep 'supercite) ; sc 3.0
+ ((functionp 'sc-cite-regexp) ; sc 3.0
(concat "\\(" (sc-cite-regexp) "\\)" "\\|"
(ispell-non-empty-string sc-reference-tag-string)))
- ((featurep 'sc) ; sc 2.3
+ ((boundp 'sc-cite-regexp) ; sc 2.3
(concat "\\(" sc-cite-regexp "\\)" "\\|"
(ispell-non-empty-string sc-reference-tag-string)))
((or (equal major-mode 'news-reply-mode) ;GNUS 4 & below