aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-06-17 10:25:32 +0000
committerEli Zaretskii2002-06-17 10:25:32 +0000
commitc74fe809e9dafb0ce15d8a31333de61534011862 (patch)
treec634c4a0c168f5405deabb4148a3fa81112dce2e
parent60ddd063322bd98d09feef126f83bb301e81e999 (diff)
downloademacs-c74fe809e9dafb0ce15d8a31333de61534011862.tar.gz
emacs-c74fe809e9dafb0ce15d8a31333de61534011862.zip
(ctext-pre-write-conversion): Fix the values of FROM and TO if we create
a new buffer.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/international/mule.el5
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e402b87d793..31e9e826f4f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * international/mule.el (ctext-pre-write-conversion): Fix the values
4 of FROM and TO if we create a new buffer.
5
12002-06-17 John Paul Wallington <jpw@shootybangbang.com> 62002-06-17 John Paul Wallington <jpw@shootybangbang.com>
2 7
3 * comint.el (comint-insert-clicked-input): Insert clicked-on 8 * comint.el (comint-insert-clicked-input): Insert clicked-on
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index f9ec6cdfc49..574c7213dc9 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1367,6 +1367,8 @@ charsets or coding systems.")
1367 (set-buffer-modified-p modified-p) 1367 (set-buffer-modified-p modified-p)
1368 (- (point-max) (point-min))))) 1368 (- (point-max) (point-min)))))
1369 1369
1370;; If you add charsets here, be sure to modify the regexp used by
1371;; ctext-pre-write-conversion to look up non-standard charsets.
1370(defvar non-standard-designations-alist 1372(defvar non-standard-designations-alist
1371 '(("$(0" . (big5 "big5-0" 2)) 1373 '(("$(0" . (big5 "big5-0" 2))
1372 ("$(1" . (big5 "big5-0" 2)) 1374 ("$(1" . (big5 "big5-0" 2))
@@ -1408,7 +1410,8 @@ text, and convert it in the temporary buffer. Otherwise, convert in-place."
1408 (buffer-disable-undo) 1410 (buffer-disable-undo)
1409 (if (stringp from) 1411 (if (stringp from)
1410 (insert from) 1412 (insert from)
1411 (insert-buffer-substring buf from to))))) 1413 (insert-buffer-substring buf from to))
1414 (setq from (point-min) to (point-max)))))
1412 (encode-coding-region from to 'ctext-no-compositions) 1415 (encode-coding-region from to 'ctext-no-compositions)
1413 ;; Replace ISO-2022 charset designations with extended segments, for 1416 ;; Replace ISO-2022 charset designations with extended segments, for
1414 ;; those charsets that are not part of the official X registry. 1417 ;; those charsets that are not part of the official X registry.