X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/d52969e8afaa19ed1acc01f4ff0bb651bf7869a7..ce1438d696bd670b5aba5690ce4f73b836b20194:/lisp/indent.el diff --git a/lisp/indent.el b/lisp/indent.el index 6d0100489d..9321803270 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -1,7 +1,6 @@ ;;; indent.el --- indentation commands for Emacs -;; Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007, -;; 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +;; Copyright (C) 1985, 1995, 2001-2011 Free Software Foundation, Inc. ;; Maintainer: FSF ;; Package: emacs @@ -562,8 +561,8 @@ Use \\[edit-tab-stops] to edit them interactively." (while (and tabs (>= (current-column) (car tabs))) (setq tabs (cdr tabs))) (if tabs - (let ((opoint (point))) - (delete-horizontal-space t) + (progn + (delete-horizontal-space t) (indent-to (car tabs))) (insert ?\s)))) @@ -595,5 +594,4 @@ Use \\[edit-tab-stops] to edit them interactively." (define-key ctl-x-map "\t" 'indent-rigidly) (define-key esc-map "i" 'tab-to-tab-stop) -;; arch-tag: f402b2a7-e44f-492f-b5b8-38996020b7c3 ;;; indent.el ends here