comparison lisp/simple.el @ 105051:b24c3613ac28

(hard-newline): Give it a doc-string.
author Glenn Morris <rgm@gnu.org>
date Thu, 17 Sep 2009 06:02:20 +0000
parents b520d55cdd72
children bd2966850aac
comparison
equal deleted inserted replaced
105050:f519ea72decd 105051:b24c3613ac28
423 "Parent major mode from which special major modes should inherit." 423 "Parent major mode from which special major modes should inherit."
424 (setq buffer-read-only t)) 424 (setq buffer-read-only t))
425 425
426 ;; Making and deleting lines. 426 ;; Making and deleting lines.
427 427
428 (defvar hard-newline (propertize "\n" 'hard t 'rear-nonsticky '(hard))) 428 (defvar hard-newline (propertize "\n" 'hard t 'rear-nonsticky '(hard))
429 "Propertized string representing a hard newline character.")
429 430
430 (defun newline (&optional arg) 431 (defun newline (&optional arg)
431 "Insert a newline, and move to left margin of the new line if it's blank. 432 "Insert a newline, and move to left margin of the new line if it's blank.
432 If `use-hard-newlines' is non-nil, the newline is marked with the 433 If `use-hard-newlines' is non-nil, the newline is marked with the
433 text-property `hard'. 434 text-property `hard'.