Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sachac user files #19

Merged
merged 10 commits into from
Jan 16, 2024
Prev Previous commit
Next Next commit
Provide work-around for buttonize which needs 29.1
  • Loading branch information
xuchunyang committed Jan 16, 2024
commit f5ab666300f813569efde57e68fa13d3f52f7286
8 changes: 7 additions & 1 deletion elisp-demos.el
Original file line number Diff line number Diff line change
@@ -226,7 +226,13 @@ If set, new notes are added to the first file in this list."
'keymap elisp-demos-help-keymap)
"\n\n")
"")
(buttonize "[Add]" #'elisp-demos-add-demo helpful--sym)
(if (fboundp 'buttonize)
(buttonize "[Add]" #'elisp-demos-add-demo helpful--sym)
(insert-text-button
"[Add]"
'face 'link
'action (lambda (_button)
(elisp-demos-add-demo helpful--sym))))
"\n\n"))))))

;;;###autoload