:group 'lisp-indent)
\f
+(defvar lisp-indent-error-function)
+
;;;###autoload
(defun common-lisp-indent-function (indent-point state)
(let ((normal-indent (current-column)))
;; other body form
normal-indent))))
((symbolp method)
- (setq calculated (funcall method
- path state indent-point
- sexp-column normal-indent)))
+ (let ((lisp-indent-error-function function))
+ (setq calculated (funcall method
+ path state indent-point
+ sexp-column normal-indent))))
(t
- (setq calculated (lisp-indent-259
- method path state indent-point
- sexp-column normal-indent)))))
+ (let ((lisp-indent-error-function function))
+ (setq calculated (lisp-indent-259
+ method path state indent-point
+ sexp-column normal-indent))))))
(goto-char containing-sexp)
(setq last-point containing-sexp)
(if (not calculated)
(defun lisp-indent-report-bad-format (m)
(error "%s has a badly-formed %s property: %s"
;; Love those free variable references!!
- function 'common-lisp-indent-function m))
+ lisp-indent-error-function 'common-lisp-indent-function m))
;; Blame the crufty control structure on dynamic scoping
;; -- not on me!