diff options
| author | Tino Calancha <tino.calancha@gmail.com> | 2025-01-31 16:10:16 +0100 |
|---|---|---|
| committer | Tino Calancha <tino.calancha@gmail.com> | 2025-01-31 16:14:03 +0100 |
| commit | 2b696d4e2256e64064e1b87903c4e4b2b382156d (patch) | |
| tree | 03f2846f2a6a2888b7f3c9df7345f43f65fd575f | |
| parent | a9b2979c20258b00c49f9932a5eac104bab1124e (diff) | |
Handle emacs-30 new obarray typeexternals/gnugo
This change fixes the following issues happening on initialization with emacs-30:
gnugo-refresh: Wrong type argument: obarrayp, [nil nil nil nil nil nil nil nil nil nil ...]
* gnugo.el: Use `obarray-make` when it is defined
Suggested by: Tristan Cacqueray <tdecacqu@redhat.com>
| -rw-r--r-- | gnugo.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2208,7 +2208,7 @@ In this mode, keys do not self insert (see `gnugo-board-mode-map')." (overlay-put ov 'display ")") ov))) (gnugo-put :mul '(1 . 1)) - (gnugo-put :obarray (make-vector 31 nil)) + (gnugo-put :obarray (if (fboundp 'obarray-make) (obarray-make 31) (make-vector 31 nil))) (add-to-invisibility-spec :nogrid)) ;;;--------------------------------------------------------------------------- |
