emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/hyperbole 40a1f331a1 20/28: hui:link-possible-types - F


From: ELPA Syncer
Subject: [elpa] externals/hyperbole 40a1f331a1 20/28: hui:link-possible-types - For ilinks, add log msg of hbut's attrs
Date: Tue, 21 Nov 2023 12:58:18 -0500 (EST)

branch: externals/hyperbole
commit 40a1f331a122243b85de6cb304488eb9cef38746
Author: bw <rsw@gnu.org>
Commit: bw <rsw@gnu.org>

    hui:link-possible-types - For ilinks, add log msg of hbut's attrs
---
 hui.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/hui.el b/hui.el
index ccc50b0490..6b2db81887 100644
--- a/hui.el
+++ b/hui.el
@@ -3,7 +3,7 @@
 ;; Author:       Bob Weiner
 ;;
 ;; Orig-Date:    19-Sep-91 at 21:42:03
-;; Last-Mod:      4-Nov-23 at 11:56:05 by Bob Weiner
+;; Last-Mod:      6-Nov-23 at 19:16:42 by Bob Weiner
 ;;
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 ;;
@@ -1857,9 +1857,11 @@ Buffer without File      link-to-buffer-tmp"
                                            (setq lbl-key (hattr:get hbut-sym 
'lbl-key))
                                            (eq (current-buffer) 
(get-file-buffer (gbut:file))))
                                       (list 'link-to-gbut lbl-key))
-                                     ((and hbut-sym (eq (hattr:get hbut-sym 
'categ) 'explicit))
+                                     ((and hbut-sym lbl-key (eq (hattr:get 
hbut-sym 'categ) 'explicit))
                                       (list 'link-to-ebut lbl-key))
-                                     (hbut-sym
+                                     ((and hbut-sym lbl-key)
+                                      ;; On an implicit button, so link to it
+                                      (message "%S" (hattr:list hbut-sym))
                                       (list 'link-to-ibut lbl-key (or 
buffer-file-name (buffer-name))))
                                      ((and (require 'bookmark)
                                            (derived-mode-p 
'bookmark-bmenu-mode)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]