diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 344ad4ec7d0..75071ddb9ce 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -376,7 +376,7 @@ BOOKMARK-RECORD is, e.g., one element from `bookmark-alist'. Its type is read from the symbol property named `bookmark-handler-type' read on the record handler function." (let ((handler (bookmark-get-handler bookmark-record))) - (when (autoloadp (symbol-function handler)) + (when (and (symbolp handler) (autoloadp (symbol-function handler))) (autoload-do-load (symbol-function handler))) (if (symbolp handler) (get handler 'bookmark-handler-type)