summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-11-12 08:32:02 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2010-11-12 08:32:02 -0500
commitc156a63bb337b2bc2ce19b06e0175fbd75a790cc (patch)
tree518591020e41c31603a73f59664c455c196fb42c /lisp/simple.el
parentf3bb9e16c950f375eb8957c3267b6631ee65d9da (diff)
downloademacs-c156a63bb337b2bc2ce19b06e0175fbd75a790cc.tar.gz
emacs-c156a63bb337b2bc2ce19b06e0175fbd75a790cc.tar.bz2
emacs-c156a63bb337b2bc2ce19b06e0175fbd75a790cc.zip
* lisp/simple.el (open-line): `newline' may strip trailing space.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
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."
(interactive "*p")
(let* ((do-fill-prefix (and fill-prefix (bolp)))
(do-left-margin (and (bolp) (> (current-left-margin) 0)))
- (loc (point))
+ (loc (point-marker))
;; Don't expand an abbrev before point.
(abbrev-mode nil))
(newline n)