Function: apropos-documentation-property

apropos-documentation-property is an autoloaded and byte-compiled function defined in apropos.el.gz.

Signature

(apropos-documentation-property SYMBOL PROPERTY RAW)

Documentation

Like (documentation-property SYMBOL PROPERTY RAW) but handle errors.

Source Code

;; Defined in /usr/src/emacs/lisp/apropos.el.gz
;;;###autoload
(defun apropos-documentation-property (symbol property raw)
  "Like (documentation-property SYMBOL PROPERTY RAW) but handle errors."
  (condition-case ()
      (let ((doc (documentation-property symbol property raw)))
	(if doc (substring doc 0 (string-search "\n" doc))
	  "(not documented)"))
    (error "(error retrieving documentation)")))