aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-06-17 16:15:09 +0000
committerRichard M. Stallman2002-06-17 16:15:09 +0000
commit0b69eec589634ccd6815d9484dbcd95d77be8b37 (patch)
tree214eeadb9ff40dbeafa28abf24f1cc37b8df2d07
parentcea5ec30b493ae72d25644fb465e6a3fada8664a (diff)
downloademacs-0b69eec589634ccd6815d9484dbcd95d77be8b37.tar.gz
emacs-0b69eec589634ccd6815d9484dbcd95d77be8b37.zip
(what-cursor-position): Use describe-char.
-rw-r--r--lisp/simple.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 9f01cef9f66..14d1670b6ba 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -530,7 +530,7 @@ code is shown in hex. If the character is encoded into more than one
530byte, just \"...\" is shown. 530byte, just \"...\" is shown.
531 531
532In addition, with prefix argument, show details about that character 532In addition, with prefix argument, show details about that character
533in *Help* buffer. See also the command `describe-char-after'." 533in *Help* buffer. See also the command `describe-char'."
534 (interactive "P") 534 (interactive "P")
535 (let* ((char (following-char)) 535 (let* ((char (following-char))
536 (beg (point-min)) 536 (beg (point-min))
@@ -570,7 +570,7 @@ in *Help* buffer. See also the command `describe-char-after'."
570 (format "(0%o, %d, 0x%x)" char char char)))) 570 (format "(0%o, %d, 0x%x)" char char char))))
571 (if detail 571 (if detail
572 ;; We show the detailed information about CHAR. 572 ;; We show the detailed information about CHAR.
573 (describe-char-after (point))) 573 (describe-char (point)))
574 (if (or (/= beg 1) (/= end (1+ total))) 574 (if (or (/= beg 1) (/= end (1+ total)))
575 (message "Char: %s %s point=%d of %d (%d%%) <%d - %d> column %d %s" 575 (message "Char: %s %s point=%d of %d (%d%%) <%d - %d> column %d %s"
576 (if (< char 256) 576 (if (< char 256)