diff options
| author | Joakim Verona | 2012-12-07 17:31:40 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-07 17:31:40 +0100 |
| commit | 650c47574a62a06a1db6484834819e7c6a4227af (patch) | |
| tree | dddcd08c8340b6da7a71d3361d53b834d07cd5bd | |
| parent | 5dae61e8befd3c91f06b8ce9bc0a8b8441b3f2b6 (diff) | |
| parent | 454eb09524ef6e8c25ea7dc8b9fd6fadb0bb1a5c (diff) | |
| download | emacs-650c47574a62a06a1db6484834819e7c6a4227af.tar.gz emacs-650c47574a62a06a1db6484834819e7c6a4227af.zip | |
auto upstream
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/subr.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ee551879577..ab351f2a69c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-12-07 Chong Yidong <cyd@gnu.org> | 1 | 2012-12-07 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * subr.el (text-clone-maintain): Fix clone overlay deletion when a | ||
| 4 | syntax is specified (Bug#13025). | ||
| 5 | |||
| 3 | * info.el (Info-set-mode-line): Remove the file extension from | 6 | * info.el (Info-set-mode-line): Remove the file extension from |
| 4 | Info-current-file if there is one (Bug#13016). | 7 | Info-current-file if there is one (Bug#13016). |
| 5 | 8 | ||
diff --git a/lisp/subr.el b/lisp/subr.el index edc2927d673..e08277370a9 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -3847,7 +3847,7 @@ This is used on the `modification-hooks' property of text clones." | |||
| 3847 | (if (not (re-search-forward | 3847 | (if (not (re-search-forward |
| 3848 | (overlay-get ol1 'text-clone-syntax) cend t)) | 3848 | (overlay-get ol1 'text-clone-syntax) cend t)) |
| 3849 | ;; Mark the overlay for deletion. | 3849 | ;; Mark the overlay for deletion. |
| 3850 | (overlay-put ol1 'text-clones nil) | 3850 | (setq end cbeg) |
| 3851 | (when (< (match-end 0) cend) | 3851 | (when (< (match-end 0) cend) |
| 3852 | ;; Shrink the clone at its end. | 3852 | ;; Shrink the clone at its end. |
| 3853 | (setq end (min end (match-end 0))) | 3853 | (setq end (min end (match-end 0))) |