eval-region as arg, instead of binding load-read-function.
;; Now arrange for eval-region to "read" the (possibly) altered form.
;; eval-region handles recording which file defines a function or variable.
(save-excursion
- (let ((load-read-function
- #'(lambda (ignore)
- ;; Skipping to the end of the specified region
- ;; will make eval-region return.
- (goto-char end)
- form)))
- (eval-region beg end standard-output)))))
+ (eval-region beg end standard-output
+ #'(lambda (ignore)
+ ;; Skipping to the end of the specified region
+ ;; will make eval-region return.
+ (goto-char end)
+ form)))))
\f
(defun lisp-comment-indent ()
(if (looking-at "\\s<\\s<\\s<")