]> git.eshelyaron.com Git - emacs.git/commitdiff
(widget-default-create): Insert new text at the :from marker _after_ the
authorEli Zaretskii <eliz@gnu.org>
Sun, 4 Feb 2007 16:02:32 +0000 (16:02 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 4 Feb 2007 16:02:32 +0000 (16:02 +0000)
marker, not before it.

lisp/ChangeLog
lisp/wid-edit.el

index f473cdbb038376d8c1842075f2c08150912f796a..477df1371614b7838a9618fea89f5aa972b3c6a3 100644 (file)
@@ -1,3 +1,8 @@
+2007-02-04  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+       * wid-edit.el (widget-default-create): Insert new text at the
+       :from marker _after_ the marker, not before it.
+
 2007-02-04  Alan Mackenzie  <acm@muc.de>
 
        * progmodes/cc-cmds.el (c-indent-line): Don't erase ^L when a line
index 2e11b6557529407d524c79845f258d7251894787..d0ff5c0b956ba53b07753f4dbefb9292dd7a17d2 100644 (file)
@@ -1509,7 +1509,7 @@ If that does not exists, call the value of `widget-complete-field'."
        (widget-apply widget :value-create)))
    (let ((from (point-min-marker))
         (to (point-max-marker)))
-     (set-marker-insertion-type from t)
+     (set-marker-insertion-type from nil)
      (set-marker-insertion-type to nil)
      (widget-put widget :from from)
      (widget-put widget :to to)))