summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/simple.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7cfbb0e7cb5..2806653f678 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-17 Glenn Morris <rgm@gnu.org>
+
+ * simple.el (hard-newline): Give it a doc-string.
+
2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
* menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
diff --git a/lisp/simple.el b/lisp/simple.el
index e9498c4e6d0..e95c736951c 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -425,7 +425,8 @@ Other major modes are defined by comparison with this one."
;; Making and deleting lines.
-(defvar hard-newline (propertize "\n" 'hard t 'rear-nonsticky '(hard)))
+(defvar hard-newline (propertize "\n" 'hard t 'rear-nonsticky '(hard))
+ "Propertized string representing a hard newline character.")
(defun newline (&optional arg)
"Insert a newline, and move to left margin of the new line if it's blank.