diff options
| author | Juanma Barranquero | 2006-11-30 15:50:08 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-11-30 15:50:08 +0000 |
| commit | 33fac69773cb682f32d9ae46f6a0ce4e2740d372 (patch) | |
| tree | 82c076cf9870faae5441df6265116314488e494d | |
| parent | 17264191314b1339747381d525009e9bd4634d9c (diff) | |
| download | emacs-33fac69773cb682f32d9ae46f6a0ce4e2740d372.tar.gz emacs-33fac69773cb682f32d9ae46f6a0ce4e2740d372.zip | |
(create-fontset-from-ascii-font, create-fontset-from-fontset-spec,
x-compose-font-name): Doc fixes.
(fontset-name-p): Fix typo in docstring.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/international/fontset.el | 18 |
2 files changed, 17 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f04ecee8414..12ba2ee7449 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2006-11-30 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * international/fontset.el (create-fontset-from-ascii-font) | ||
| 4 | (create-fontset-from-fontset-spec, x-compose-font-name): Doc fixes. | ||
| 5 | (fontset-name-p): Fix typo in docstring. | ||
| 6 | |||
| 7 | * progmodes/cc-cmds.el (c-indent-exp): Fix typo in docstring. | ||
| 8 | |||
| 1 | 2006-11-30 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 9 | 2006-11-30 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 2 | 10 | ||
| 3 | * ps-bdf.el : Fix maintainer email. | 11 | * ps-bdf.el : Fix maintainer email. |
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 643d9bad01c..c1193e094d8 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -382,10 +382,10 @@ PATTERN. If no full XLFD name is gotten, return nil." | |||
| 382 | 382 | ||
| 383 | (defun x-compose-font-name (fields &optional reduce) | 383 | (defun x-compose-font-name (fields &optional reduce) |
| 384 | "Compose X's fontname from FIELDS. | 384 | "Compose X's fontname from FIELDS. |
| 385 | FIELDS is a vector of XLFD fields, the length 14. | 385 | FIELDS is a vector of XLFD fields, of length 14. |
| 386 | If a field is nil, wild-card letter `*' is embedded. | 386 | If a field is nil, wild-card letter `*' is embedded. |
| 387 | Optional argument REDUCE is always ignored. It exists just for | 387 | Optional argument REDUCE exists just for backward compatibility, |
| 388 | backward compatibility." | 388 | and is always ignored." |
| 389 | (concat "-" (mapconcat (lambda (x) (or x "*")) fields "-"))) | 389 | (concat "-" (mapconcat (lambda (x) (or x "*")) fields "-"))) |
| 390 | 390 | ||
| 391 | 391 | ||
| @@ -463,7 +463,7 @@ variable `x-font-name-charset-alist'), add that information to FONTLIST." | |||
| 463 | (defun fontset-name-p (fontset) | 463 | (defun fontset-name-p (fontset) |
| 464 | "Return non-nil if FONTSET is valid as fontset name. | 464 | "Return non-nil if FONTSET is valid as fontset name. |
| 465 | A valid fontset name should conform to XLFD (X Logical Font Description) | 465 | A valid fontset name should conform to XLFD (X Logical Font Description) |
| 466 | with \"fontset\" in `<CHARSET_REGISTRY> field." | 466 | with \"fontset\" in `<CHARSET_REGISTRY>' field." |
| 467 | (and (string-match xlfd-tight-regexp fontset) | 467 | (and (string-match xlfd-tight-regexp fontset) |
| 468 | (string= (match-string (1+ xlfd-regexp-registry-subnum) fontset) | 468 | (string= (match-string (1+ xlfd-regexp-registry-subnum) fontset) |
| 469 | "fontset"))) | 469 | "fontset"))) |
| @@ -523,7 +523,7 @@ Any number of SPACE, TAB, and NEWLINE can be put before and after commas. | |||
| 523 | 523 | ||
| 524 | Optional 2nd arg exists just for backward compatibility, and is ignored. | 524 | Optional 2nd arg exists just for backward compatibility, and is ignored. |
| 525 | 525 | ||
| 526 | If this function attempts to create already existing fontset, error is | 526 | If this function attempts to create already existing fontset, an error is |
| 527 | signaled unless the optional 3rd argument NOERROR is non-nil. | 527 | signaled unless the optional 3rd argument NOERROR is non-nil. |
| 528 | 528 | ||
| 529 | It returns a name of the created fontset." | 529 | It returns a name of the created fontset." |
| @@ -577,11 +577,11 @@ It returns a name of the created fontset." | |||
| 577 | fontset-name) | 577 | fontset-name) |
| 578 | "Create a fontset from an ASCII font FONT. | 578 | "Create a fontset from an ASCII font FONT. |
| 579 | 579 | ||
| 580 | Optional 1st arg RESOLVED-FONT is a resolved name of FONT. If | 580 | Optional 2nd arg RESOLVED-FONT is a resolved name of FONT. |
| 581 | omitted, `x-resolve-font-name' is called to get the resolved name. At | 581 | If omitted, `x-resolve-font-name' is called to get the resolved name. |
| 582 | this time, if FONT is not available, error is signaled. | 582 | At this time, if FONT is not available, an error is signaled. |
| 583 | 583 | ||
| 584 | Optional 2nd arg FONTSET-NAME is a string to be used in | 584 | Optional 3rd arg FONTSET-NAME is a string to be used in |
| 585 | `<CHARSET_ENCODING>' fields of a new fontset name. If it is omitted, | 585 | `<CHARSET_ENCODING>' fields of a new fontset name. If it is omitted, |
| 586 | an appropriate name is generated automatically. | 586 | an appropriate name is generated automatically. |
| 587 | 587 | ||