diff options
| -rw-r--r-- | lisp/descr-text.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/descr-text.el b/lisp/descr-text.el index 6b4f18ff718..61ddf928f7e 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | ;;; Code: | 29 | ;;; Code: |
| 30 | 30 | ||
| 31 | (eval-when-compile (require 'button)) | 31 | (eval-when-compile (require 'button) (require 'quail)) |
| 32 | 32 | ||
| 33 | (defun describe-text-done () | 33 | (defun describe-text-done () |
| 34 | "Delete the current window or bury the current buffer." | 34 | "Delete the current window or bury the current buffer." |
| @@ -524,6 +524,13 @@ as well as widgets, buttons, overlays, and text properties." | |||
| 524 | (push (format "%s:" (pop props)) ps) | 524 | (push (format "%s:" (pop props)) ps) |
| 525 | (push (format "%s;" (pop props)) ps)) | 525 | (push (format "%s;" (pop props)) ps)) |
| 526 | (list (cons "Properties" (nreverse ps))))) | 526 | (list (cons "Properties" (nreverse ps))))) |
| 527 | ("to input" | ||
| 528 | ,@(let ((key-list (and current-input-method | ||
| 529 | (quail-find-key char)))) | ||
| 530 | (if (consp key-list) | ||
| 531 | (list "type" | ||
| 532 | (mapconcat #'(lambda (x) (concat "\"" x "\"")) | ||
| 533 | key-list " or "))))) | ||
| 527 | ("buffer code" | 534 | ("buffer code" |
| 528 | ,(encoded-string-description | 535 | ,(encoded-string-description |
| 529 | (string-as-unibyte (char-to-string char)) nil)) | 536 | (string-as-unibyte (char-to-string char)) nil)) |