emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/simple.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/simple.el
Date: Mon, 27 Oct 2003 10:20:47 -0500

Index: emacs/lisp/simple.el
diff -c emacs/lisp/simple.el:1.621 emacs/lisp/simple.el:1.622
*** emacs/lisp/simple.el:1.621  Mon Sep 22 11:11:02 2003
--- emacs/lisp/simple.el        Mon Oct 27 10:20:46 2003
***************
*** 303,316 ****
  In some text modes, where TAB inserts a tab, this indents to the
  column specified by the function `current-left-margin'."
    (interactive "*")
-   (delete-horizontal-space t)
    (let ((pos (point)))
      ;; Be careful to insert the newline before indenting the line.
      ;; Otherwise, the indentation might be wrong.
      (newline)
      (save-excursion
        (goto-char pos)
!       (indent-according-to-mode))
      (indent-according-to-mode)))
  
  (defun quoted-insert (arg)
--- 303,316 ----
  In some text modes, where TAB inserts a tab, this indents to the
  column specified by the function `current-left-margin'."
    (interactive "*")
    (let ((pos (point)))
      ;; Be careful to insert the newline before indenting the line.
      ;; Otherwise, the indentation might be wrong.
      (newline)
      (save-excursion
        (goto-char pos)
!       (indent-according-to-mode)
!       (delete-horizontal-space t))
      (indent-according-to-mode)))
  
  (defun quoted-insert (arg)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]