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
269a9d1a
Commit
269a9d1a
authored
Jun 18, 2009
by
Kenichi Handa
Browse files
(korean-key-bindings): Add binding for key Hangul.
parent
d5e9630f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/language/korea-util.el
lisp/language/korea-util.el
+7
-2
No files found.
lisp/ChangeLog
View file @
269a9d1a
2009-06-18 Kenichi Handa <handa@m17n.org>
* language/korea-util.el (korean-key-bindings): Add binding for
key Hangul.
2009-06-17 Chong Yidong <cyd@stupidchicken.com>
* progmodes/compile.el (compilation-error-regexp-alist-alist):
...
...
lisp/language/korea-util.el
View file @
269a9d1a
...
...
@@ -97,9 +97,11 @@
;; Information for setting and exiting Korean environment.
(
defvar
korean-key-bindings
`
((
global
[?\S-
]
toggle-korean-input-method
nil
)
(
global
[Hangul]
toggle-korean-input-method
nil
)
(
global
[C-f9]
quail-hangul-switch-symbol-ksc
nil
)
(
global
[f9]
quail-hangul-switch-hanja
nil
)
(
,
isearch-mode-map
[?\S-
]
isearch-toggle-korean-input-method
nil
)
(
,
isearch-mode-map
[Hangul]
isearch-toggle-korean-input-method
nil
)
(
,
isearch-mode-map
[C-f9]
isearch-hangul-switch-symbol-ksc
nil
)
(
,
isearch-mode-map
[f9]
isearch-hangul-switch-hanja
nil
)))
...
...
@@ -118,7 +120,9 @@
(
setq
old-def
(
lookup-key
(
car
this
)
key
))
(
define-key
(
car
this
)
key
new-def
))
(
setcar
(
nthcdr
3
this
)
old-def
))
(
setq
key-bindings
(
cdr
key-bindings
)))))
(
setq
key-bindings
(
cdr
key-bindings
))))
(
use-cjk-char-width-table
'ko_KR
))
(
defun
exit-korean-environment
()
"Exit Korean language environment."
...
...
@@ -133,7 +137,8 @@
(
global-set-key
key
old-def
))
(
if
(
eq
(
lookup-key
(
car
this
)
key
)
new-def
)
(
define-key
(
car
this
)
key
old-def
))))
(
setq
key-bindings
(
cdr
key-bindings
)))))
(
setq
key-bindings
(
cdr
key-bindings
))))
(
use-default-char-width-table
))
;;
(
provide
'korea-util
)
...
...
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