diff options
| author | Kenichi Handa | 1998-10-21 11:50:56 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-10-21 11:50:56 +0000 |
| commit | 1300d43f6c50cdf58ba81c01c759c96b1fddbc5c (patch) | |
| tree | e09e8b9e1381bc7b25496adc5f0f93292f4a2dbb | |
| parent | cb8778823b44ed8aa6d5b5c8e6c717c7ac12c87e (diff) | |
| download | emacs-1300d43f6c50cdf58ba81c01c759c96b1fddbc5c.tar.gz emacs-1300d43f6c50cdf58ba81c01c759c96b1fddbc5c.zip | |
(get-charset-property): If CHARSET is
composition, return nil.
(put-charset-property): If CHARSET is composition, do nothing.
| -rw-r--r-- | lisp/international/mule-cmds.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 7c71193f5f3..875fa90e424 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -1329,13 +1329,15 @@ specifies the character set for the major languages of Western Europe." | |||
| 1329 | "Return the value of CHARSET's PROPNAME property. | 1329 | "Return the value of CHARSET's PROPNAME property. |
| 1330 | This is the last value stored with | 1330 | This is the last value stored with |
| 1331 | (put-charset-property CHARSET PROPNAME VALUE)." | 1331 | (put-charset-property CHARSET PROPNAME VALUE)." |
| 1332 | (plist-get (charset-plist charset) propname)) | 1332 | (or (eq charset 'composition) |
| 1333 | (plist-get (charset-plist charset) propname))) | ||
| 1333 | 1334 | ||
| 1334 | (defsubst put-charset-property (charset propname value) | 1335 | (defsubst put-charset-property (charset propname value) |
| 1335 | "Store CHARSETS's PROPNAME property with value VALUE. | 1336 | "Store CHARSETS's PROPNAME property with value VALUE. |
| 1336 | It can be retrieved with `(get-charset-property CHARSET PROPNAME)'." | 1337 | It can be retrieved with `(get-charset-property CHARSET PROPNAME)'." |
| 1337 | (set-charset-plist charset | 1338 | (or (eq charset 'composition) |
| 1338 | (plist-put (charset-plist charset) propname value))) | 1339 | (set-charset-plist charset |
| 1340 | (plist-put (charset-plist charset) propname value)))) | ||
| 1339 | 1341 | ||
| 1340 | ;;; Character code property | 1342 | ;;; Character code property |
| 1341 | (put 'char-code-property-table 'char-table-extra-slots 0) | 1343 | (put 'char-code-property-table 'char-table-extra-slots 0) |