2019-04-14 20:40:49 +02:00
|
|
|
diff -u -r ../emacs-26.2/lisp/textmodes/ispell.el ./lisp/textmodes/ispell.el
|
|
|
|
--- ../emacs-26.2/lisp/textmodes/ispell.el 2019-02-20 13:44:42.000000000 +0000
|
|
|
|
+++ ./lisp/textmodes/ispell.el 2019-04-14 18:15:07.894909566 +0000
|
|
|
|
@@ -215,14 +215,14 @@
|
2018-12-14 22:13:44 +01:00
|
|
|
:group 'ispell)
|
|
|
|
|
|
|
|
(defcustom ispell-alternate-dictionary
|
|
|
|
- (cond ((file-readable-p "/usr/dict/web2") "/usr/dict/web2")
|
|
|
|
- ((file-readable-p "/usr/share/dict/web2") "/usr/share/dict/web2")
|
|
|
|
- ((file-readable-p "/usr/dict/words") "/usr/dict/words")
|
|
|
|
- ((file-readable-p "/usr/lib/dict/words") "/usr/lib/dict/words")
|
|
|
|
- ((file-readable-p "/usr/share/dict/words") "/usr/share/dict/words")
|
|
|
|
- ((file-readable-p "/usr/share/lib/dict/words")
|
|
|
|
- "/usr/share/lib/dict/words")
|
2019-04-14 20:40:49 +02:00
|
|
|
- ((file-readable-p "/sys/dict") "/sys/dict"))
|
|
|
|
+ (cond ((file-readable-p "@TERMUX_PREFIX@/dict/web2") "/usr/dict/web2")
|
|
|
|
+ ((file-readable-p "@TERMUX_PREFIX@/share/dict/web2") "/usr/share/dict/web2")
|
|
|
|
+ ((file-readable-p "@TERMUX_PREFIX@/dict/words") "/usr/dict/words")
|
|
|
|
+ ((file-readable-p "@TERMUX_PREFIX@/lib/dict/words") "/usr/lib/dict/words")
|
|
|
|
+ ((file-readable-p "@TERMUX_PREFIX@/share/dict/words") "/usr/share/dict/words")
|
2018-12-14 22:13:44 +01:00
|
|
|
+ ((file-readable-p "@TERMUX_PREFIX@/share/lib/dict/words")
|
|
|
|
+ "@TERMUX_PREFIX@/share/lib/dict/words")
|
2019-04-14 20:40:49 +02:00
|
|
|
+ ((file-readable-p "@TERMUX_PREFIX@/sys/dict") "@TERMUX_PREFIX@/sys/dict"))
|
2018-12-14 22:13:44 +01:00
|
|
|
"Alternate plain word-list dictionary for spelling help."
|
|
|
|
:type '(choice file (const :tag "None" nil))
|
2019-04-14 20:40:49 +02:00
|
|
|
:group 'ispell)
|