diff --git a/emacs-26.1.dif b/emacs-26.1.dif index 038ef73..7c89576 100644 --- a/emacs-26.1.dif +++ b/emacs-26.1.dif @@ -11,13 +11,13 @@ lisp/net/ange-ftp.el | 8 +-- lisp/site-load.el | 41 ++++++++++++++++ lisp/speedbar.el | 1 - lisp/textmodes/ispell.el | 82 ++++++++++++++++++++++++++++++++- + lisp/textmodes/ispell.el | 85 ++++++++++++++++++++++++++++++++--- site-lisp/term/func-keys.el | 33 +++++++++++++ site-lisp/term/gnome.el | 97 ++++++++++++++++++++++++++++++++++++++++ site-lisp/term/kvt.el | 97 ++++++++++++++++++++++++++++++++++++++++ site-lisp/term/linux.el | 79 ++++++++++++++++++++++++++++++++ site-lisp/term/locale.el | 13 +++++ - 18 files changed, 471 insertions(+), 32 deletions(-) + 18 files changed, 473 insertions(+), 33 deletions(-) --- Makefile.in +++ Makefile.in 2018-05-29 13:07:53.479965338 +0000 @@ -346,7 +346,17 @@ "Program invoked by \\[ispell-word] and \\[ispell-region] commands." :type 'string :set (lambda (symbol value) -@@ -1414,6 +1416,78 @@ The variable `ispell-library-directory' +@@ -1179,7 +1181,8 @@ dictionary from that list was found." + (setq hunspell-default-dict (or hunspell-multi-dict + (car hunspell-default-dict))) + (setq hunspell-default-dict-entry +- (ispell-parse-hunspell-affix-file hunspell-default-dict)) ++ (if hunspell-default-dict ++ (ispell-parse-hunspell-affix-file hunspell-default-dict) nil)) + ;; Create an alist of found dicts with only names, except for default dict. + (setq ispell-hunspell-dictionary-alist + (list (cons nil (cdr hunspell-default-dict-entry)))) +@@ -1414,6 +1417,78 @@ The variable `ispell-library-directory' (if ispell-menu-map-needed (progn (setq ispell-menu-map (make-sparse-keymap "Spell")) diff --git a/emacs.changes b/emacs.changes index b368b18..14c8d2f 100644 --- a/emacs.changes +++ b/emacs.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 23 08:25:39 UTC 2018 - Dr. Werner Fink + +- Let ispell.el perform even on older systems without default + hunspell dictionary as otherwise this leades to wrong type + error as nil is not a pointer to a string + ------------------------------------------------------------------- Tue Oct 23 06:37:33 UTC 2018 - Dr. Werner Fink diff --git a/emacs.spec b/emacs.spec index 5019985..3f2efe3 100644 --- a/emacs.spec +++ b/emacs.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ #