aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/international/fontset.el18
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 @@
12006-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
12006-11-30 Vinicius Jose Latorre <viniciusjl@ig.com.br> 92006-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.
385FIELDS is a vector of XLFD fields, the length 14. 385FIELDS is a vector of XLFD fields, of length 14.
386If a field is nil, wild-card letter `*' is embedded. 386If a field is nil, wild-card letter `*' is embedded.
387Optional argument REDUCE is always ignored. It exists just for 387Optional argument REDUCE exists just for backward compatibility,
388backward compatibility." 388and 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.
465A valid fontset name should conform to XLFD (X Logical Font Description) 465A valid fontset name should conform to XLFD (X Logical Font Description)
466with \"fontset\" in `<CHARSET_REGISTRY> field." 466with \"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
524Optional 2nd arg exists just for backward compatibility, and is ignored. 524Optional 2nd arg exists just for backward compatibility, and is ignored.
525 525
526If this function attempts to create already existing fontset, error is 526If this function attempts to create already existing fontset, an error is
527signaled unless the optional 3rd argument NOERROR is non-nil. 527signaled unless the optional 3rd argument NOERROR is non-nil.
528 528
529It returns a name of the created fontset." 529It 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
580Optional 1st arg RESOLVED-FONT is a resolved name of FONT. If 580Optional 2nd arg RESOLVED-FONT is a resolved name of FONT.
581omitted, `x-resolve-font-name' is called to get the resolved name. At 581If omitted, `x-resolve-font-name' is called to get the resolved name.
582this time, if FONT is not available, error is signaled. 582At this time, if FONT is not available, an error is signaled.
583 583
584Optional 2nd arg FONTSET-NAME is a string to be used in 584Optional 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,
586an appropriate name is generated automatically. 586an appropriate name is generated automatically.
587 587