diff lisp/progmodes/scheme.el @ 20067:694a165b5b0d

(scheme-let-indent): New arg NORMAL-INDENT. (scheme-indent-function): Pass normal-indent as 3rd arg when calling an indentation function.
author Karl Heuer <kwzh@gnu.org>
date Thu, 16 Oct 1997 18:07:23 +0000
parents d38d2b26bd52
children 98744f3de8ed
line wrap: on
line diff
--- 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