[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/tar-mode.el
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/tar-mode.el |
Date: |
Mon, 18 Jul 2005 06:46:18 -0400 |
Index: emacs/lisp/tar-mode.el
diff -c emacs/lisp/tar-mode.el:1.100 emacs/lisp/tar-mode.el:1.101
*** emacs/lisp/tar-mode.el:1.100 Mon Jul 4 23:08:58 2005
--- emacs/lisp/tar-mode.el Mon Jul 18 10:46:17 2005
***************
*** 1120,1126 ****
(descriptor tar-superior-descriptor)
subfile-size)
;; We must make the current buffer unibyte temporarily to avoid
! ;; multibyte->unibyte conversion in `insert-buffer'.
(set-buffer-multibyte nil)
(setq subfile-size (buffer-size))
(set-buffer tar-superior-buffer)
--- 1120,1126 ----
(descriptor tar-superior-descriptor)
subfile-size)
;; We must make the current buffer unibyte temporarily to avoid
! ;; multibyte->unibyte conversion in `insert-buffer-substring'.
(set-buffer-multibyte nil)
(setq subfile-size (buffer-size))
(set-buffer tar-superior-buffer)
***************
*** 1144,1150 ****
(delete-region data-start data-end)
;; insert the new data...
(goto-char data-start)
! (insert-buffer subfile)
(setq subfile-size
(encode-coding-region
data-start (+ data-start subfile-size) coding))
--- 1144,1150 ----
(delete-region data-start data-end)
;; insert the new data...
(goto-char data-start)
! (insert-buffer-substring subfile)
(setq subfile-size
(encode-coding-region
data-start (+ data-start subfile-size) coding))