diff options
| author | Ken Manheimer | 2011-07-02 13:39:41 -0400 |
|---|---|---|
| committer | Ken Manheimer | 2011-07-02 13:39:41 -0400 |
| commit | e47ca23bcf56fc7d28e7edaa2785edeebecbdb51 (patch) | |
| tree | ffeb950916a0eae18909b9a9be9a6577f5c78668 | |
| parent | 7018dbe72c9713b30dcae861a6d2377576c1dc25 (diff) | |
| download | emacs-e47ca23bcf56fc7d28e7edaa2785edeebecbdb51.tar.gz emacs-e47ca23bcf56fc7d28e7edaa2785edeebecbdb51.zip | |
* allout.el (allout-yank-processing): Adjust cursor position for
backwards-deleted space.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/allout.el | 6 |
2 files changed, 14 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cd1ec32d077..de13574aa54 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com> | ||
| 2 | |||
| 3 | * allout.el (allout-yank-processing): Adjust cursor position for | ||
| 4 | backwards-deleted space. | ||
| 5 | |||
| 6 | (allout-rebullet-heading): Register changes with | ||
| 7 | allout-exposure-changed-hook, so the modified topic is properly | ||
| 8 | decorated. | ||
| 9 | |||
| 1 | 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> | 10 | 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 11 | ||
| 3 | * minibuffer.el (completion-in-region): Document PREDICATE | 12 | * minibuffer.el (completion-in-region): Document PREDICATE |
diff --git a/lisp/allout.el b/lisp/allout.el index 552f9461335..d238745df17 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -4036,6 +4036,8 @@ this function." | |||
| 4036 | (not (allout-encrypted-topic-p))) | 4036 | (not (allout-encrypted-topic-p))) |
| 4037 | (allout-reindent-body current-depth new-depth)) | 4037 | (allout-reindent-body current-depth new-depth)) |
| 4038 | 4038 | ||
| 4039 | (run-hook-with-args 'allout-exposure-change-hook mb me nil) | ||
| 4040 | |||
| 4039 | ;; Recursively rectify successive siblings of orig topic if | 4041 | ;; Recursively rectify successive siblings of orig topic if |
| 4040 | ;; caller elected for it: | 4042 | ;; caller elected for it: |
| 4041 | (if do-successors | 4043 | (if do-successors |
| @@ -4605,7 +4607,9 @@ however, are left exactly like normal, non-allout-specific yanks." | |||
| 4605 | ; and delete residual subj | 4607 | ; and delete residual subj |
| 4606 | ; prefix digits and space: | 4608 | ; prefix digits and space: |
| 4607 | (while (looking-at "[0-9]") (delete-char 1)) | 4609 | (while (looking-at "[0-9]") (delete-char 1)) |
| 4608 | (delete-char -1))) | 4610 | (delete-char -1) |
| 4611 | (if (not (eolp)) | ||
| 4612 | (forward-char)))) | ||
| 4609 | ;; Assert new topic's bullet - minimal effort if unchanged: | 4613 | ;; Assert new topic's bullet - minimal effort if unchanged: |
| 4610 | (allout-rebullet-heading (string-to-char prefix-bullet))) | 4614 | (allout-rebullet-heading (string-to-char prefix-bullet))) |
| 4611 | (exchange-point-and-mark)))) | 4615 | (exchange-point-and-mark)))) |