Function: find-function--try-macroexpand

find-function--try-macroexpand is a byte-compiled function defined in find-func.el.gz.

Signature

(find-function--try-macroexpand FORM)

Documentation

Try to macroexpand FORM in full or partially.

This is a best-effort operation in which if macroexpansion fails, this function returns FORM as is.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/find-func.el.gz
(defun find-function--try-macroexpand (form)
  "Try to macroexpand FORM in full or partially.
This is a best-effort operation in which if macroexpansion fails,
this function returns FORM as is."
  (ignore-errors
    (or
     (macroexpand-all form)
     (macroexpand-1 form)
     form)))