diff options
| author | Kenichi Handa | 2004-02-06 11:13:07 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-02-06 11:13:07 +0000 |
| commit | 4a64ad459ed968312bfde2d63274c8dbdca42ed4 (patch) | |
| tree | 5a76a3cf0ba577819d558591d49b7781dba88790 | |
| parent | d1bd4b129c045b23b7d93847b4a9287d230cf66e (diff) | |
| download | emacs-4a64ad459ed968312bfde2d63274c8dbdca42ed4.tar.gz emacs-4a64ad459ed968312bfde2d63274c8dbdca42ed4.zip | |
(list-charset-chars): Put charset text property.
| -rw-r--r-- | lisp/international/mule-diag.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index 0f57c8606b5..586c31e5b80 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -292,6 +292,7 @@ detailed meanings of these arguments." | |||
| 292 | (if (> dim 2) | 292 | (if (> dim 2) |
| 293 | (error "Can only list 1- and 2-dimensional charsets")) | 293 | (error "Can only list 1- and 2-dimensional charsets")) |
| 294 | (insert (format "Characters in the coded character set %s.\n" charset)) | 294 | (insert (format "Characters in the coded character set %s.\n" charset)) |
| 295 | (narrow-to-region (point) (point)) | ||
| 295 | (setq min (aref range 0) | 296 | (setq min (aref range 0) |
| 296 | max (aref range 1)) | 297 | max (aref range 1)) |
| 297 | (if (= dim 1) | 298 | (if (= dim 1) |
| @@ -301,7 +302,9 @@ detailed meanings of these arguments." | |||
| 301 | (let ((i min2)) | 302 | (let ((i min2)) |
| 302 | (while (<= i max2) | 303 | (while (<= i max2) |
| 303 | (list-block-of-chars charset i min max) | 304 | (list-block-of-chars charset i min max) |
| 304 | (setq i (1+ i))))))))) | 305 | (setq i (1+ i))))) |
| 306 | (put-text-property (point-min) (point-max) 'charset charset) | ||
| 307 | (widen))))) | ||
| 305 | 308 | ||
| 306 | 309 | ||
| 307 | ;;;###autoload | 310 | ;;;###autoload |