SHA256
1
0
forked from pool/emacs

type error strinp on nil

OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=264
This commit is contained in:
Dr. Werner Fink 2018-10-23 08:27:54 +00:00 committed by Git OBS Bridge
parent b142f47efe
commit aff8e914a1
3 changed files with 21 additions and 4 deletions

View File

@ -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"))

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 23 08:25:39 UTC 2018 - Dr. Werner Fink <werner@suse.de>
- 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 <werner@suse.de>

View File

@ -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/
#