Function: pfuture-output-from-buffer--inliner

pfuture-output-from-buffer--inliner is a function defined in pfuture.el.

Signature

(pfuture-output-from-buffer--inliner INLINE--FORM BUFFER)

Source Code

;; Defined in ~/.emacs.d/elpa/pfuture-20220913.1401/pfuture.el
;; Closure converted to defun by helpful.
(defun pfuture-output-from-buffer--inliner
    (inline--form buffer)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp buffer)
	 (buffer
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "buffer")))
	 (body
	  (list 'with-current-buffer buffer
		(list 'buffer-string))))
      (if
	  (eq buffer exp)
	  body
	(macroexp-let*
	 (list
	  (list buffer exp))
	 body)))))