All Questions
Tagged with conditionals package
1 question
0
votes
1
answer
584
views
package-installed-p vs fboundp
What should I use:
(when (package-installed-p 'ivy)
(global-set-key (kbd "C-x b") #'ivy-switch-buffer))
or:
(when (fboundp 'ivy-switch-buffer)
(global-set-key (kbd "C-x b") #'...