diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-07-26 16:07:55 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-07-26 16:07:55 +0000 |
commit | a34ed813d1c8fa8305c07dbcb14492c041131c88 (patch) | |
tree | e57ddc961325c2a0a60ff30bf1e70d0b8523ab13 /lisp | |
parent | cbfde7a0798d4218e7638ef756d22f51d1a68a42 (diff) | |
download | emacs-a34ed813d1c8fa8305c07dbcb14492c041131c88.tar.gz |
(smerge-ediff): Use insert-buffer-substring.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 44 | ||||
-rw-r--r-- | lisp/smerge-mode.el | 2 |
2 files changed, 24 insertions, 22 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 442206319ed..cb7ae71c671 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2005-07-26 Stefan Monnier <monnier@iro.umontreal.ca> + * smerge-mode.el (smerge-ediff): Use insert-buffer-substring. + * descr-text.el (describe-char): Handle the case where the list of chars is displayed in a separate frame. Be a bit more discriminating when looking for the char. @@ -79,8 +81,8 @@ 2005-07-22 Kim F. Storm <storm@cua.dk> - * image-file.el (insert-image-file, image-file-yank-handler): Fix - last change to maintain a (unique) yank-handler on yanked images. + * image-file.el (insert-image-file, image-file-yank-handler): + Fix last change to maintain a (unique) yank-handler on yanked images. 2005-07-22 Eduardo Mu,Aq(Boz <emufer@terra.es> (tiny change) @@ -305,20 +307,20 @@ * textmodes/org.el (org-table-column-names) (org-table-column-name-regexp) - (org-table-named-field-locations): New variables. - (org-archive-subtree): Protect `this-command' when calling + (org-table-named-field-locations): New variables. + (org-archive-subtree): Protect `this-command' when calling `org-copy-subtree' and `org-cut-subtree', to avoid appending to the kill buffer. - (org-complete): Remove fixed-formula completion. - (org-edit-formulas-map): New variable. - (org-table-edit-formulas): New command. - (org-finish-edit-formulas, org-abort-edit-formulas) + (org-complete): Remove fixed-formula completion. + (org-edit-formulas-map): New variable. + (org-table-edit-formulas): New command. + (org-finish-edit-formulas, org-abort-edit-formulas) (org-show-variable, org-table-get-vertical-vector): New functions. - (org-table-maybe-eval-formula): Handle `:=' fields. - (org-table-get-stored-formulas, org-table-store-formulas) - (org-table-get-formula, org-table-modify-formulas) - (org-table-replace-in-formulas): Handle named field formulas. - (org-table-get-specials): Store locations of named fields. + (org-table-maybe-eval-formula): Handle `:=' fields. + (org-table-get-stored-formulas, org-table-store-formulas) + (org-table-get-formula, org-table-modify-formulas) + (org-table-replace-in-formulas): Handle named field formulas. + (org-table-get-specials): Store locations of named fields. 2005-07-19 Juri Linkov <juri@jurta.org> @@ -380,8 +382,8 @@ more than 88 colors. Use green for light backgrounds with 8 colors, and yellow for dark backgrounds with 8 colors. - * font-lock.el (font-lock-regexp-grouping-backslash): Don't - inherit from escape-glyph (use bold for all cases). + * font-lock.el (font-lock-regexp-grouping-backslash): + Don't inherit from escape-glyph (use bold for all cases). * info.el (info-xref-visited): Use light foreground color `violet' for dark backgrounds instead of dark color `magenta3'. @@ -478,8 +480,8 @@ `insert-buffer'. * calendar/icalendar.el (icalendar--get-unfolded-buffer): - * progmodes/ada-mode.el (ada-make-body): Use - `insert-buffer-substring' and `goto-char', not `insert-buffer'. + * progmodes/ada-mode.el (ada-make-body): + Use `insert-buffer-substring' and `goto-char', not `insert-buffer'. * dired.el (dired-log): * tar-mode.el (tar-subfile-save-buffer): @@ -573,8 +575,8 @@ * emulation/viper-init.el (viper-activate-input-method): Avoid warning. - * emacs-lisp/re-builder.el (reb-cook-regexp): Avoid - warning calling lre-compile-string. + * emacs-lisp/re-builder.el (reb-cook-regexp): + Avoid warning calling lre-compile-string. (reb-color-display-p): Avoid warning. * calculator.el (calculator-last-input): Guard uses @@ -591,8 +593,8 @@ (checkdoc-overlay-start, checkdoc-overlay-end) (checkdoc-mode-line-update, checkdoc-char=): Define such that compiler knows they are defined. - (checkdoc-call-eval-buffer): Deleted. Use eval-buffer directly. - (checkdoc-read-event): Deleted. Use read-event directly. + (checkdoc-call-eval-buffer): Delete. Use eval-buffer directly. + (checkdoc-read-event): Delete. Use read-event directly. * whitespace.el (whitespace-make-overlay) (whitespace-overlay-put, whitespace-delete-overlay) diff --git a/lisp/smerge-mode.el b/lisp/smerge-mode.el index 45e68750cb3..a40486ffd07 100644 --- a/lisp/smerge-mode.el +++ b/lisp/smerge-mode.el @@ -670,7 +670,7 @@ buffer names." (ediff-cleanup-mess) (with-current-buffer buf (erase-buffer) - (insert-buffer buffer-C) + (insert-buffer-substring buffer-C) (kill-buffer buffer-A) (kill-buffer buffer-B) (kill-buffer buffer-C) |