changeset 66968:7db78a409419

* simple.el (next-line): Use hard-newline.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 17 Nov 2005 18:21:37 +0000
parents 151367ca2353
children 09d4982a93b9
files lisp/ChangeLog lisp/simple.el
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Nov 17 18:18:33 2005 +0000
+++ b/lisp/ChangeLog	Thu Nov 17 18:21:37 2005 +0000
@@ -1,7 +1,7 @@
 2005-11-17  Chong Yidong  <cyd@stupidchicken.com>
 
 	* simple.el (hard-newline): New variable.
-	(sendmail-user-agent-compose): Use it.
+	(sendmail-user-agent-compose, next-line): Use it.
 
 	* mail/sendmail.el (mail-setup, mail-send, mail-insert-from-field)
 	(sendmail-send-it, mail-do-fcc, mail-cc, mail-bcc, mail-fcc)
--- a/lisp/simple.el	Thu Nov 17 18:18:33 2005 +0000
+++ b/lisp/simple.el	Thu Nov 17 18:21:37 2005 +0000
@@ -3326,7 +3326,7 @@
 	  ;; When adding a newline, don't expand an abbrev.
 	  (let ((abbrev-mode nil))
 	    (end-of-line)
-	    (insert "\n"))
+	    (insert hard-newline))
 	(line-move arg nil nil try-vscroll))
     (if (interactive-p)
 	(condition-case nil