diff options
| author | Glenn Morris | 2014-03-05 20:11:08 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-03-05 20:11:08 -0800 |
| commit | 03bc753ef6410e0203886d48593f6f466873a53e (patch) | |
| tree | 67db071b817091f3d395e45ebd19375d610d1fd0 | |
| parent | 222426f69493fda9bdbcb8884fb0c9b2ff643595 (diff) | |
| download | emacs-03bc753ef6410e0203886d48593f6f466873a53e.tar.gz emacs-03bc753ef6410e0203886d48593f6f466873a53e.zip | |
* lisp/simple.el (newline): Doc tweak.
* etc/NEWS: Related edit.
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/simple.el | 5 |
3 files changed, 9 insertions, 4 deletions
| @@ -351,6 +351,10 @@ means to always load the .elc file. | |||
| 351 | 351 | ||
| 352 | ** Indentation changes | 352 | ** Indentation changes |
| 353 | 353 | ||
| 354 | *** `electric-indent-mode' is now enabled by default. | ||
| 355 | E.g., typing RET reindents the current line and indents the new line. | ||
| 356 | `C-j' inserts a newline but does not indent. | ||
| 357 | |||
| 354 | +++ | 358 | +++ |
| 355 | *** The behavior of `C-x TAB' (`indent-rigidly') has changed. | 359 | *** The behavior of `C-x TAB' (`indent-rigidly') has changed. |
| 356 | When invoked without a prefix argument, it now activates a transient | 360 | When invoked without a prefix argument, it now activates a transient |
| @@ -358,8 +362,6 @@ mode in which typing <left>, <right>, <S-left>, and <S-right> adjusts | |||
| 358 | the text indentation in the region. Typing any other key resumes | 362 | the text indentation in the region. Typing any other key resumes |
| 359 | normal editing behavior. | 363 | normal editing behavior. |
| 360 | 364 | ||
| 361 | *** `electric-indent-mode' is enabled by default. | ||
| 362 | |||
| 363 | +++ | 365 | +++ |
| 364 | *** `tab-stop-list' is now implicitly extended to infinity by repeating | 366 | *** `tab-stop-list' is now implicitly extended to infinity by repeating |
| 365 | the last step. Its default value is changed to nil, which means a tab | 367 | the last step. Its default value is changed to nil, which means a tab |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 04af3ca01a5..ae71a8f8e65 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2014-03-06 Glenn Morris <rgm@gnu.org> | 1 | 2014-03-06 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * simple.el (newline): Doc tweak. | ||
| 4 | |||
| 3 | * emacs-lisp/shadow.el (load-path-shadows-find): | 5 | * emacs-lisp/shadow.el (load-path-shadows-find): |
| 4 | Ignore dir-locals. (Bug#12357) | 6 | Ignore dir-locals. (Bug#12357) |
| 5 | 7 | ||
diff --git a/lisp/simple.el b/lisp/simple.el index 200e86596d7..f9447b1fff4 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -383,8 +383,9 @@ If option `use-hard-newlines' is non-nil, the newline is marked with the | |||
| 383 | text-property `hard'. | 383 | text-property `hard'. |
| 384 | With ARG, insert that many newlines. | 384 | With ARG, insert that many newlines. |
| 385 | 385 | ||
| 386 | To turn off indentation by this command, disable Electric Indent mode | 386 | If `electric-indent-mode' is enabled, this indents the final new line |
| 387 | \(see \\[electric-indent-mode]). | 387 | that it adds, and reindents the preceding line. To just insert |
| 388 | a newline, use \\[electric-indent-just-newline]. | ||
| 388 | 389 | ||
| 389 | Calls `auto-fill-function' if the current column number is greater | 390 | Calls `auto-fill-function' if the current column number is greater |
| 390 | than the value of `fill-column' and ARG is nil. | 391 | than the value of `fill-column' and ARG is nil. |