# HG changeset patch # User Karl Heuer # Date 877025243 0 # Node ID 694a165b5b0da7a13df7059e0848395322dd1745 # Parent affc9c8574281b1d9241e1cad0dd5d622267838d (scheme-let-indent): New arg NORMAL-INDENT. (scheme-indent-function): Pass normal-indent as 3rd arg when calling an indentation function. diff -r affc9c857428 -r 694a165b5b0d lisp/progmodes/scheme.el --- a/lisp/progmodes/scheme.el Thu Oct 16 00:07:02 1997 +0000 +++ b/lisp/progmodes/scheme.el Thu Oct 16 18:07:23 1997 +0000 @@ -356,7 +356,7 @@ (lisp-indent-specform method state indent-point normal-indent)) (method - (funcall method state indent-point))))))) + (funcall method state indent-point normal-indent))))))) ;;; Let is different in Scheme @@ -378,11 +378,11 @@ ;; (scheme-indent-specform 2 state indent-point) ;; (scheme-indent-specform 1 state indent-point))) -(defun scheme-let-indent (state indent-point) +(defun scheme-let-indent (state indent-point normal-indent) (skip-chars-forward " \t") (if (looking-at "[-a-zA-Z0-9+*/?!@$%^&_:~]") - (lisp-indent-specform 2 state indent-point (current-column)) - (lisp-indent-specform 1 state indent-point (current-column)))) + (lisp-indent-specform 2 state indent-point normal-indent) + (lisp-indent-specform 1 state indent-point normal-indent))) ;; (put 'begin 'scheme-indent-function 0), say, causes begin to be indented ;; like defun if the first form is placed on the next line, otherwise