bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17128: 24.3.50; `newline-and-indent' should not indent the current l


From: Dmitry Gutov
Subject: bug#17128: 24.3.50; `newline-and-indent' should not indent the current line
Date: Fri, 28 Mar 2014 08:17:28 +0200

Tags: patch

There's `reindent-then-newline-and-indent' for that.

In GNU Emacs 24.3.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6)
 of 2014-03-23 on axl
Repository revision: 116830 dgutov@yandex.ru-20140322084330-wrwcmwjdbe3mu712
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description:     Ubuntu 13.10


=== modified file 'lisp/simple.el'
--- lisp/simple.el      2014-03-25 23:30:08 +0000
+++ lisp/simple.el      2014-03-28 06:15:14 +0000
@@ -611,7 +611,7 @@
 column specified by the function `current-left-margin'."
   (interactive "*")
   (delete-horizontal-space t)
-  (newline nil t)
+  (newline)
   (indent-according-to-mode))
 
 (defun reindent-then-newline-and-indent ()






reply via email to

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