Disallow creation of new lines when you press the "arrow-down key" at end of the buffer.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 18 Jan 2010 23:28:26 +0200
changeset 251 99a4fc940294
parent 250 ef1c7269280f
child 252 330b4cdfaddf
Disallow creation of new lines when you press the "arrow-down key" at end of the buffer.
.emacs-my
--- a/.emacs-my	Mon Jan 18 23:17:52 2010 +0200
+++ b/.emacs-my	Mon Jan 18 23:28:26 2010 +0200
@@ -640,6 +640,7 @@
 
 (setq-default show-trailing-whitespace t)
 (setq-default indicate-empty-lines t)
+(setq next-line-add-newlines nil)
 
 ;; ----------------------------------------------------------------------
 ;; TODO, XXX, FIXME highlight.