Source

eudc / eudc-export.el

Diff from to

File eudc-export.el

 
 (require 'eudc)
 
-(require 'bbdb)
-(require 'bbdb-com)
+(if (not (featurep 'bbdb))
+    (load-library "bbdb"))
+(if (not (featurep 'bbdb-com))
+    (load-library "bbdb-com"))
 
 (defun eudc-create-bbdb-record (record &optional silent)
   "Create a BBDB record using the RECORD alist.
 	   (eudc-create-bbdb-record record t)))
     (message "%d records imported into BBDB" nbrec)))
 
-;;;### autoload
+;;;###autoload
 (defun eudc-insert-record-at-point-into-bbdb ()
   "Insert record at point into the BBDB database.
 This function can only be called from a directory query result buffer."
 	(error "Point is not over a record")
       (eudc-create-bbdb-record record))))
 
-;;;### autoload
+;;;###autoload
 (defun eudc-try-bbdb-insert ()
   "Call `eudc-insert-record-at-point-into-bbdb' if on a record."
   (interactive)