mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(what-cursor-position): Use describe-char.
This commit is contained in:
parent
cea5ec30b4
commit
0b69eec589
1 changed files with 2 additions and 2 deletions
|
|
@ -530,7 +530,7 @@ code is shown in hex. If the character is encoded into more than one
|
|||
byte, just \"...\" is shown.
|
||||
|
||||
In addition, with prefix argument, show details about that character
|
||||
in *Help* buffer. See also the command `describe-char-after'."
|
||||
in *Help* buffer. See also the command `describe-char'."
|
||||
(interactive "P")
|
||||
(let* ((char (following-char))
|
||||
(beg (point-min))
|
||||
|
|
@ -570,7 +570,7 @@ in *Help* buffer. See also the command `describe-char-after'."
|
|||
(format "(0%o, %d, 0x%x)" char char char))))
|
||||
(if detail
|
||||
;; We show the detailed information about CHAR.
|
||||
(describe-char-after (point)))
|
||||
(describe-char (point)))
|
||||
(if (or (/= beg 1) (/= end (1+ total)))
|
||||
(message "Char: %s %s point=%d of %d (%d%%) <%d - %d> column %d %s"
|
||||
(if (< char 256)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue