1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 800_ispell.el_has-defvaralias.dpatch by Agustin Martin Domingo <agmartin@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Use defvaralias only if available
7
(defvaralias) availability
15
diff -urNad dictionaries-common~/support/emacsen/ispell.el dictionaries-common/support/emacsen/ispell.el
16
--- dictionaries-common~/support/emacsen/ispell.el 2007-06-07 16:22:05.000000000 +0200
17
+++ dictionaries-common/support/emacsen/ispell.el 2007-06-07 16:23:54.000000000 +0200
19
The function must take one string argument and return a string."
22
-(defvaralias 'ispell-format-word 'ispell-format-word-function)
23
+(if (fboundp 'defvaralias)
24
+ (defvaralias 'ispell-format-word 'ispell-format-word-function))
26
(defcustom ispell-use-framepop-p nil
27
"When non-nil ispell uses framepop to display choices in a dedicated frame.