Skip to content

Commit 2ea7606

Browse files
committed
* bdx.el (bdx--occur): Fix compilation error on Emacs-27.
1 parent 6a3745d commit 2ea7606

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bdx.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,8 @@ This turns a string of the form \\='function<type<T>>\\=' into
600600
(insert-row "type" type 'font-lock-type-face)
601601
(insert "\n")))))
602602

603-
(button-mode +1)
603+
(when (fboundp 'button-mode)
604+
(button-mode +1))
604605
(goto-char (point-min)))
605606

606607
(ivy-configure 'bdx :occur #'bdx--occur)

0 commit comments

Comments
 (0)