diff options
| author | Stefan Monnier | 2010-11-12 08:32:02 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2010-11-12 08:32:02 -0500 |
| commit | c156a63bb337b2bc2ce19b06e0175fbd75a790cc (patch) | |
| tree | 518591020e41c31603a73f59664c455c196fb42c | |
| parent | f3bb9e16c950f375eb8957c3267b6631ee65d9da (diff) | |
| download | emacs-c156a63bb337b2bc2ce19b06e0175fbd75a790cc.tar.gz emacs-c156a63bb337b2bc2ce19b06e0175fbd75a790cc.zip | |
* lisp/simple.el (open-line): `newline' may strip trailing space.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/simple.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8caa87a5204..46eacc2de31 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * simple.el (open-line): `newline' may strip trailing space. | ||
| 4 | |||
| 1 | 2010-11-12 Kevin Ryde <user42@zip.com.au> | 5 | 2010-11-12 Kevin Ryde <user42@zip.com.au> |
| 2 | 6 | ||
| 3 | * international/mule-cmds.el (princ-list): Use mapc. | 7 | * international/mule-cmds.el (princ-list): Use mapc. |
diff --git a/lisp/simple.el b/lisp/simple.el index 329284807d2..510fb4a3b23 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -512,7 +512,7 @@ With arg N, insert N newlines." | |||
| 512 | (interactive "*p") | 512 | (interactive "*p") |
| 513 | (let* ((do-fill-prefix (and fill-prefix (bolp))) | 513 | (let* ((do-fill-prefix (and fill-prefix (bolp))) |
| 514 | (do-left-margin (and (bolp) (> (current-left-margin) 0))) | 514 | (do-left-margin (and (bolp) (> (current-left-margin) 0))) |
| 515 | (loc (point)) | 515 | (loc (point-marker)) |
| 516 | ;; Don't expand an abbrev before point. | 516 | ;; Don't expand an abbrev before point. |
| 517 | (abbrev-mode nil)) | 517 | (abbrev-mode nil)) |
| 518 | (newline n) | 518 | (newline n) |