From 6fcec85ef350f03dc1150843c8b944a7f73a561e Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Sun, 11 Jan 2009 04:05:32 +0000 Subject: [PATCH] * international/fontset.el (create-fontset-from-fontset-spec): Doc fix. --- lisp/ChangeLog | 4 ++++ lisp/international/fontset.el | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7e8e3ccdab5..990cd5cc20f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-01-11 Juanma Barranquero + + * international/fontset.el (create-fontset-from-fontset-spec): Doc fix. + 2009-01-11 Glenn Morris * diff-mode.el (whitespace-style, whitespace-trailing-regexp): diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 26fa74b12c8..bb2612dfc5e 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -499,7 +499,7 @@ symbol braille yi - aegean-number + aegean-number ancient-greek-number ancient-symbol phaistos-disc @@ -912,7 +912,7 @@ to map charsets to scripts.") &optional style-variant noerror) "Create a fontset from fontset specification string FONTSET-SPEC. FONTSET-SPEC is a string of the format: - FONTSET-NAME,SCRIPT0:FONT0,SCRIPT1:FONT1, ... + FONTSET-NAME,SCRIPT-NAME0:FONT-NAME0,SCRIPT-NAME1:FONT-NAME1, ... Any number of SPACE, TAB, and NEWLINE can be put before and after commas. When a frame uses the fontset as the `font' parameter, the frame's @@ -938,7 +938,7 @@ which case, the corresponding script is decided by the variable (error "Fontset name \"%s\" not conforming to XLFD" name)) (setq default-spec (font-spec :name name)) ;; At first, extract pairs of charset and fontname from FONTSET-SPEC. - (while (string-match "[, \t\n]*\\([^:]+\\):[ \t]*\\([^,]+\\)" + (while (string-match "[, \t\n]*\\([^:]+\\):[ \t]*\\([^,]+\\)" fontset-spec idx) (setq idx (match-end 0)) (setq target (intern (match-string 1 fontset-spec))) -- 2.39.2