]> git.eshelyaron.com Git - emacs.git/commit
textmodex/{ispell,flyspell}.el: Decrease XEmacs incompatibilities.
authorAgustín Martín <agustin.martin@hispalinux.es>
Mon, 28 May 2012 16:11:15 +0000 (18:11 +0200)
committerAgustín Martín <agustin.martin@hispalinux.es>
Mon, 28 May 2012 16:11:15 +0000 (18:11 +0200)
commit85c8c5b6533138643a7fafe819a12a2630c98752
tree436af0211b784a825b5d056a246d93db234cca71
parent8cab9efc05afe98ea521296c1c5ea2b4243f657d
textmodex/{ispell,flyspell}.el: Decrease XEmacs incompatibilities.

* flyspell.el:
  (flyspell-check-pre-word-p): Use `string-match'.
  (flyspell-delete-region-overlays): Use alternative definition for XEmacs.
  (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
  (flyspell-word): Use `process-kill-without-query' if XEmacs.
  (flyspell-mode-on): Use `interactive-p' if XEmacs.
  (flyspell-incorrect-face, flyspell-duplicate-face):
  Do not use `define-obsolete-face-alias' under XEmacs, but old method.

* ispell.el:
  (ispell-with-no-warnings): XEmacs alternative `with-no-warnings'
  definition or Emacs alias.
  (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
  (ispell-word): Do not use `region-p' if XEmacs.
lisp/ChangeLog
lisp/textmodes/flyspell.el
lisp/textmodes/ispell.el