changeset 34836:196128ac70b3

(skeleton-internal-1): Make sure the first line of the region is also re-indented.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 22 Dec 2000 19:35:53 +0000
parents 78dd0bae5478
children 60ecb8f938eb
files lisp/skeleton.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/skeleton.el	Fri Dec 22 16:26:40 2000 +0000
+++ b/lisp/skeleton.el	Fri Dec 22 19:35:53 2000 +0000
@@ -426,7 +426,8 @@
 	((eq element '>)
 	 (if (and skeleton-regions
 		  (eq (nth 1 skeleton) '_))
-	     (indent-region (point) (car skeleton-regions) nil)
+	     (indent-region (line-beginning-position)
+			    (car skeleton-regions) nil)
 	   (indent-according-to-mode)))
 	((eq element '_)
 	 (if skeleton-regions