* lisp/help-fns.el (help-fns--globalized-minor-mode): FUNCTION can
be a lambda, so protect against that.
(add-hook 'help-fns-describe-function-functions
#'help-fns--globalized-minor-mode)
(defun help-fns--globalized-minor-mode (function)
- (when (get function 'globalized-minor-mode)
+ (when (and (symbolp function)
+ (get function 'globalized-minor-mode))
(help-fns--customize-variable function " the global mode variable.")
(terpri)))