branch: externals/hyperbole
commit efdb6b7056f3e060b824f907f4dd5051d96894a6
Author: bw <r...@gnu.org>
Commit: bw <r...@gnu.org>

    hibtypes.el (action) - Fix 'actype-sym' setting to trigger on vars
---
 ChangeLog   | 3 +++
 hibtypes.el | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index bda022d0bd..081008ef61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2025-09-07  Bob Weiner  <r...@gnu.org>
 
+* hibtypes.el (action): Fix setting of 'actype-sym' when a variable by adding
+    a call to 'intern-soft'.
+
 * hproperty.el (hproperty:but-get-all-in-region): Note in doc string that no 
ordering
     is specified; may differ between Emacs versions.
   test/hywiki-tests.el (hywiki-tests--edit): Handle different ordering of 
wikiword
diff --git a/hibtypes.el b/hibtypes.el
index 6aa7f2d257..46b1ea444d 100644
--- a/hibtypes.el
+++ b/hibtypes.el
@@ -3,7 +3,7 @@
 ;; Author:       Bob Weiner
 ;;
 ;; Orig-Date:    19-Sep-91 at 20:45:31
-;; Last-Mod:      7-Sep-25 at 14:05:21 by Bob Weiner
+;; Last-Mod:      7-Sep-25 at 17:27:58 by Bob Weiner
 ;;
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 ;;
@@ -1608,7 +1608,7 @@ action type, function symbol to call or test to execute, 
i.e.
         (setq var-flag t
              lbl (substring lbl 1)))
       (setq actype (if (string-match-p " " lbl) (car (split-string lbl)) lbl)
-            actype-sym (actype:elisp-symbol actype)
+            actype-sym (or (actype:elisp-symbol actype) (intern-soft actype))
            ;; Must ignore that (boundp nil) would be t here.
             actype (and actype-sym
                        (or (fboundp actype-sym) (boundp actype-sym)

Reply via email to