diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/indent.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/indent.el b/lisp/indent.el index 398585e1f90..db811cf35cc 100644 --- a/lisp/indent.el +++ b/lisp/indent.el | |||
| @@ -300,8 +300,9 @@ only if necessary. It leaves point at end of indentation." | |||
| 300 | (progn (skip-chars-backward " ") (point)))) | 300 | (progn (skip-chars-backward " ") (point)))) |
| 301 | (indent-to column)) | 301 | (indent-to column)) |
| 302 | ((> cur-col column) ; too far right (after tab?) | 302 | ((> cur-col column) ; too far right (after tab?) |
| 303 | (delete-region (progn (move-to-column column t) (point)) | 303 | (let ((cur-indent (point))) |
| 304 | (progn (backward-to-indentation 0) (point))))))) | 304 | (delete-region (progn (move-to-column column t) (point)) |
| 305 | cur-indent)))))) | ||
| 305 | 306 | ||
| 306 | (defun current-left-margin () | 307 | (defun current-left-margin () |
| 307 | "Return the left margin to use for this line. | 308 | "Return the left margin to use for this line. |