Mercurial > emacs
comparison lisp/international/quail.el @ 29129:1fad86b8adfc
(quail-show-guidance-buf): Set
current-input-method of the guidance buffer to the name of the
curren input method.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 23 May 2000 23:42:38 +0000 |
parents | b46c4dc8c51a |
children | 79b2b42f9a7b |
comparison
equal
deleted
inserted
replaced
29128:765f6698675f | 29129:1fad86b8adfc |
---|---|
1508 or in a newly created frame (if the selected frame has no other windows)." | 1508 or in a newly created frame (if the selected frame has no other windows)." |
1509 (when (quail-require-guidance-buf) | 1509 (when (quail-require-guidance-buf) |
1510 ;; At first, setup a guidance buffer. | 1510 ;; At first, setup a guidance buffer. |
1511 (or (buffer-live-p quail-guidance-buf) | 1511 (or (buffer-live-p quail-guidance-buf) |
1512 (setq quail-guidance-buf (generate-new-buffer " *Quail-guidance*"))) | 1512 (setq quail-guidance-buf (generate-new-buffer " *Quail-guidance*"))) |
1513 (let ((title (quail-title))) | 1513 (let ((name (quail-name)) |
1514 (title (quail-title))) | |
1514 (save-excursion | 1515 (save-excursion |
1515 (set-buffer quail-guidance-buf) | 1516 (set-buffer quail-guidance-buf) |
1516 ;; To show the title of Quail package. | 1517 ;; To show the title of Quail package. |
1517 (setq current-input-method t | 1518 (setq current-input-method name |
1518 current-input-method-title title) | 1519 current-input-method-title title) |
1519 (erase-buffer) | 1520 (erase-buffer) |
1520 (or (overlayp quail-overlay) | 1521 (or (overlayp quail-overlay) |
1521 (progn | 1522 (progn |
1522 (setq quail-overlay (make-overlay 1 1)) | 1523 (setq quail-overlay (make-overlay 1 1)) |