File tree 3 files changed +17
-5
lines changed
3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change
1
+ 2023-11-06 Bob Weiner <
[email protected] >
2
+
3
+ * hui.el (hui:link-possible-types): Fix CI/CD build error where
4
+ ilink was inserted when pathname was expected due to batch
5
+ diff when referent is in dired-mode. Fix to skip button type
6
+ clauses it this case.
7
+ test/hui-tests.el (hui--ibut-link-directly-to-dired): Check that
8
+ looking at a string before trying to (read (current-buffer));
9
+ otherwise, 'read' will fail.
10
+
1
11
2023-11-05 Bob Weiner <
[email protected] >
2
12
3
13
* test/hyrolo-tests.el (hyrolo-demo-show-overview): Fix by adding
Original file line number Diff line number Diff line change 3
3
; ; Author: Bob Weiner
4
4
; ;
5
5
; ; Orig-Date: 19-Sep-91 at 21:42:03
6
- ; ; Last-Mod: 6-Nov-23 at 19:16:42 by Bob Weiner
6
+ ; ; Last-Mod: 6-Nov-23 at 19:36:33 by Bob Weiner
7
7
; ;
8
8
; ; SPDX-License-Identifier: GPL-3.0-or-later
9
9
; ;
@@ -1852,7 +1852,8 @@ Buffer without File link-to-buffer-tmp"
1852
1852
1853
1853
; ; Next clause forces use of any ibut name in the link
1854
1854
; ; and sets hbut:current button attributes.
1855
- (t (cond ((and (prog1 (setq hbut-sym (hbut:at-p))
1855
+ (t (cond ((and (not (derived-mode-p 'dired-mode ))
1856
+ (prog1 (setq hbut-sym (hbut:at-p))
1856
1857
(save-excursion (ibut:at-to-name-p hbut-sym)))
1857
1858
(setq lbl-key (hattr:get hbut-sym 'lbl-key ))
1858
1859
(eq (current-buffer ) (get-file-buffer (gbut:file))))
@@ -1861,7 +1862,7 @@ Buffer without File link-to-buffer-tmp"
1861
1862
(list 'link-to-ebut lbl-key))
1862
1863
((and hbut-sym lbl-key)
1863
1864
; ; On an implicit button, so link to it
1864
- (message " %S " (hattr:list hbut-sym))
1865
+ ; ; (message "%S" (hattr:list hbut-sym))
1865
1866
(list 'link-to-ibut lbl-key (or buffer-file-name (buffer-name ))))
1866
1867
((and (require 'bookmark )
1867
1868
(derived-mode-p 'bookmark-bmenu-mode )
Original file line number Diff line number Diff line change 3
3
; ; Author: Mats Lidell <[email protected] >
4
4
; ;
5
5
; ; Orig-Date: 30-Jan-21 at 12:00:00
6
- ; ; Last-Mod: 5 -Nov-23 at 17:16 :45 by Bob Weiner
6
+ ; ; Last-Mod: 6 -Nov-23 at 19:39 :45 by Bob Weiner
7
7
; ;
8
8
; ; SPDX-License-Identifier: GPL-3.0-or-later
9
9
; ;
@@ -806,7 +806,8 @@ With point on label suggest that ibut for rename."
806
806
; ; Implicit link should be the `dir' dired directory,
807
807
; ; possibly minus the final directory '/'.
808
808
(goto-char (point-min ))
809
- (should (string-prefix-p (read (current-buffer )) dir)))
809
+ (should (and (looking-at " \" " )
810
+ (string-prefix-p (read (current-buffer )) dir))))
810
811
(hy-delete-file-and-buffer file))))
811
812
812
813
(ert-deftest hui--ibut-link-directly-with-label ()
You can’t perform that action at this time.
0 commit comments