|
(cond ((locate-library "bbdb") |
|
(require 'bbdb) |
You could consider rewriting this as
(when (require 'bbdb nil 'noerror)
If bbdb can't be loaded, this returns nil, but if it can (or if bbdb is alreayd loaded), this return bbdb and the rest of the code will be executed.
practical.org.el/practical.org.el
Lines 303 to 304 in da0da2a
You could consider rewriting this as
If
bbdbcan't be loaded, this returnsnil, but if it can (or ifbbdbis alreayd loaded), this returnbbdband the rest of the code will be executed.