diff options
| author | Eli Zaretskii | 2007-02-04 16:02:32 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-02-04 16:02:32 +0000 |
| commit | e0f95693512fa487411cd9d5f8fbed369941b2af (patch) | |
| tree | 7c1d668a15d62d4a28d9aec0577f625a8b990489 | |
| parent | 647a3247fc50da6932c6d006ae576b37f34accff (diff) | |
| download | emacs-e0f95693512fa487411cd9d5f8fbed369941b2af.tar.gz emacs-e0f95693512fa487411cd9d5f8fbed369941b2af.zip | |
(widget-default-create): Insert new text at the :from marker _after_ the
marker, not before it.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/wid-edit.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f473cdbb038..477df137161 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-02-04 Per Abrahamsen <abraham@dina.kvl.dk> | ||
| 2 | |||
| 3 | * wid-edit.el (widget-default-create): Insert new text at the | ||
| 4 | :from marker _after_ the marker, not before it. | ||
| 5 | |||
| 1 | 2007-02-04 Alan Mackenzie <acm@muc.de> | 6 | 2007-02-04 Alan Mackenzie <acm@muc.de> |
| 2 | 7 | ||
| 3 | * progmodes/cc-cmds.el (c-indent-line): Don't erase ^L when a line | 8 | * progmodes/cc-cmds.el (c-indent-line): Don't erase ^L when a line |
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 2e11b655752..d0ff5c0b956 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -1509,7 +1509,7 @@ If that does not exists, call the value of `widget-complete-field'." | |||
| 1509 | (widget-apply widget :value-create))) | 1509 | (widget-apply widget :value-create))) |
| 1510 | (let ((from (point-min-marker)) | 1510 | (let ((from (point-min-marker)) |
| 1511 | (to (point-max-marker))) | 1511 | (to (point-max-marker))) |
| 1512 | (set-marker-insertion-type from t) | 1512 | (set-marker-insertion-type from nil) |
| 1513 | (set-marker-insertion-type to nil) | 1513 | (set-marker-insertion-type to nil) |
| 1514 | (widget-put widget :from from) | 1514 | (widget-put widget :from from) |
| 1515 | (widget-put widget :to to))) | 1515 | (widget-put widget :to to))) |