Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6af33222
Commit
6af33222
authored
Nov 28, 2006
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(quail-get-translations): Make
quail-current-key multibyte if not yet done.
parent
c0fdfa7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/international/quail.el
lisp/international/quail.el
+3
-1
No files found.
lisp/international/quail.el
View file @
6af33222
...
...
@@ -2066,6 +2066,8 @@ minibuffer and the selected frame has no other windows)."
(defun quail-get-translations ()
"Return a string containing the current possible translations."
(or (multibyte-string-p quail-current-key)
(setq quail-current-key (string-to-multibyte quail-current-key)))
(let ((map (quail-lookup-key quail-current-key nil t))
(str (copy-sequence quail-current-key)))
(if quail-current-translations
...
...
@@ -2074,7 +2076,7 @@ minibuffer and the selected frame has no other windows)."
;; Show the current key.
(let ((guidance (quail-guidance)))
(if (listp guidance)
;; We must replace thetyped key with the specified PROMPTKEY.
;; We must replace the
typed key with the specified PROMPT
-
KEY.
(dotimes (i (length str))
(let ((prompt-key (cdr (assoc (aref str i) guidance))))
(if prompt-key
...
...
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