diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-22 19:37:31 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-22 19:37:31 +0000 |
commit | 26736ce36eb0861020f21ca52f78e49562794894 (patch) | |
tree | 84a6cc2e3be3da2a009c787e15c4710a7fd26c3b /lisp/skeleton.el | |
parent | 95fa4fd79582445edfd57f55e8a84f7f25df16de (diff) | |
download | emacs-26736ce36eb0861020f21ca52f78e49562794894.tar.gz |
(skeleton-internal-1): Make sure the first line of
the region is also re-indented.
Diffstat (limited to 'lisp/skeleton.el')
-rw-r--r-- | lisp/skeleton.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/skeleton.el b/lisp/skeleton.el index b75833954fc..7e29eb6a322 100644 --- a/lisp/skeleton.el +++ b/lisp/skeleton.el @@ -426,7 +426,8 @@ automatically, and you are prompted to fill in the variable parts."))) ((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 |