diff options
| author | Juanma Barranquero | 2008-03-19 02:13:03 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-03-19 02:13:03 +0000 |
| commit | 95eede5c74453fccfad6eda52a440f62f166b350 (patch) | |
| tree | 75af1eafa7e2d0f4552f605db2267357237dbd61 | |
| parent | 00fc37d1ba390ce2a7f752c536626f086886ae13 (diff) | |
| download | emacs-95eede5c74453fccfad6eda52a440f62f166b350.tar.gz emacs-95eede5c74453fccfad6eda52a440f62f166b350.zip | |
(describe-char): When specifying all properties,
list them in the right order.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/descr-text.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1f2e53eb233..ad1ff4a6882 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-03-19 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * descr-text.el (describe-char): When `describe-char-unidata-list' | ||
| 4 | is set to show all properties, list them in the right order. | ||
| 5 | |||
| 1 | 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * international/mule.el (load-with-code-conversion): Avoid setting | 8 | * international/mule.el (load-with-code-conversion): Avoid setting |
diff --git a/lisp/descr-text.el b/lisp/descr-text.el index d965e66578d..c3b249f9072 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el | |||
| @@ -517,7 +517,7 @@ as well as widgets, buttons, overlays, and text properties." | |||
| 517 | ,@(let ((unicodedata (describe-char-unicode-data char))) | 517 | ,@(let ((unicodedata (describe-char-unicode-data char))) |
| 518 | (if unicodedata | 518 | (if unicodedata |
| 519 | (cons (list "Unicode data" " ") unicodedata))))) | 519 | (cons (list "Unicode data" " ") unicodedata))))) |
| 520 | (setq max-width (apply #'max (mapcar #'(lambda (x) | 520 | (setq max-width (apply #'max (mapcar #'(lambda (x) |
| 521 | (if (cadr x) (length (car x)) 0)) | 521 | (if (cadr x) (length (car x)) 0)) |
| 522 | item-list))) | 522 | item-list))) |
| 523 | (help-setup-xref nil (interactive-p)) | 523 | (help-setup-xref nil (interactive-p)) |
| @@ -639,7 +639,7 @@ as well as widgets, buttons, overlays, and text properties." | |||
| 639 | 'describe-char-unidata-list))) | 639 | 'describe-char-unidata-list))) |
| 640 | (insert "\n") | 640 | (insert "\n") |
| 641 | (dolist (elt (if (eq describe-char-unidata-list t) | 641 | (dolist (elt (if (eq describe-char-unidata-list t) |
| 642 | (mapcar 'car char-code-property-alist) | 642 | (nreverse (mapcar 'car char-code-property-alist)) |
| 643 | describe-char-unidata-list)) | 643 | describe-char-unidata-list)) |
| 644 | (let ((val (get-char-code-property char elt)) | 644 | (let ((val (get-char-code-property char elt)) |
| 645 | description) | 645 | description) |