Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a6bbf9f4
Commit
a6bbf9f4
authored
Jan 11, 2008
by
Kenichi Handa
Browse files
(describe-char-display): Fix previous change.
parent
cc07ec4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
lisp/descr-text.el
lisp/descr-text.el
+6
-5
No files found.
lisp/descr-text.el
View file @
a6bbf9f4
...
...
@@ -336,11 +336,12 @@ This function is semi-obsolete. Use `get-char-code-property'."
(
defun
describe-char-display
(
pos
char
)
(
if
(
display-graphic-p
(
selected-frame
))
(
let
((
char-font-info
(
internal-char-font
pos
char
)))
(
if
(
integerp
(
cdr
char-font-info
))
(
setcdr
char-font-info
(
format
"%02X"
(
cdr
char-font-info
)))
(
setcdr
char-font-info
(
format
"%04X%04X"
(
cadr
char-font-info
)
(
cddr
char-font-info
))))
(
if
char-font-info
(
if
(
integerp
(
cdr
char-font-info
))
(
setcdr
char-font-info
(
format
"%02X"
(
cdr
char-font-info
)))
(
setcdr
char-font-info
(
format
"%04X%04X"
(
cadr
char-font-info
)
(
cddr
char-font-info
)))))
char-font-info
)
(
let*
((
coding
(
terminal-coding-system
))
(
encoded
(
encode-coding-char
char
coding
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment