Skip to content

Commit

Permalink
Improve the :type of denote-backlinks-display-buffer-action and make …
Browse files Browse the repository at this point in the history
…it ":risky t"
  • Loading branch information
protesilaos committed Jan 25, 2025
1 parent 5fffe39 commit 1bf9eba
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions denote.el
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,14 @@ the left of the Emacs frame:
See Info node `(elisp) Displaying Buffers' for more details
and/or the documentation string of `display-buffer'."
:type '(cons (choice (function :tag "Display Function")
(repeat :tag "Display Functions" function))
alist)
:risky t
:type `(choice
(alist :key-type
(choice :tag "Condition"
regexp
(function :tag "Matcher function"))
:value-type ,display-buffer--action-custom-type)
(function :tag "Custom function to return an action alist"))
:package-version '(denote . "3.1.0")
:group 'denote)

Expand Down

0 comments on commit 1bf9eba

Please sign in to comment.