Commit 2147c6ab authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #11964 with crashes inside internal-char-font on non-GUI frames.

 lips/descr-text.el (describe-char-padded-string): Call
 internal-char-font only on GUI frames.
parent 0d35edba
2012-11-25 Eli Zaretskii <>
* descr-text.el (describe-char-padded-string): Call
internal-char-font only on GUI frames. (Bug#11964)
2012-11-24 Andreas Schwab <>
* buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
......@@ -354,7 +354,8 @@ This function is semi-obsolete. Use `get-char-code-property'."
;; Return a string of CH with composition for padding on both sides.
;; It is displayed without overlapping with the left/right columns.
(defsubst describe-char-padded-string (ch)
(if (internal-char-font nil ch)
(if (and (display-multi-font-p)
(internal-char-font nil ch))
(compose-string (string ch) 0 1 (format "\t%c\t" ch))
(string ch)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment