You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, in order to get yafolding-discover, I had to use fboundp instead of boundp, by changing this line:
(when (boundp 'discover-add-context-menu)
to this:
(when (fboundp 'discover-add-context-menu)
because the former always returns nil.
Also, if that entire block of code were a function that one could call, then I could e.g. use with-eval-after-load to setup yafolding-discover only after discover is loaded (whereas currently it only defines it if discover is available when yafolding loads).
The text was updated successfully, but these errors were encountered:
Hello, in order to get yafolding-discover, I had to use
fboundp
instead ofboundp
, by changing this line:to this:
because the former always returns
nil
.Also, if that entire block of code were a function that one could call, then I could e.g. use
with-eval-after-load
to setup yafolding-discover only after discover is loaded (whereas currently it only defines it if discover is available when yafolding loads).The text was updated successfully, but these errors were encountered: