Fix typos.

* faces.el (set-face-attribute): Fix typo in docstring.
  (face-valid-attribute-values): Reflow docstring.

* cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
This commit is contained in:
Juanma Barranquero 2010-03-24 01:17:31 +01:00
parent c333f279e5
commit c6f3804c03
3 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2010-03-24 Juanma Barranquero <lekktu@gmail.com>
* faces.el (set-face-attribute): Fix typo in docstring.
(face-valid-attribute-values): Reflow docstring.
* cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
2010-03-23 Glenn Morris <rgm@gnu.org>
* textmodes/flyspell.el (sgml-lexical-context): Autoload it. (Bug#5752)

View file

@ -66,7 +66,7 @@ Format is from the `file-attributes' function.")
If this is nil, then this template table belongs to a set of generic
templates that can be used with no additional dictionary values.
When it is non-nil, it is assumed the template macros need specialized
Emacs Lisp code to fill in the dictoinary.")
Emacs Lisp code to fill in the dictionary.")
(priority :initarg :priority
:type number
:documentation

View file

@ -988,9 +988,9 @@ Otherwise, return a single face."
(defun face-valid-attribute-values (attribute &optional frame)
"Return valid values for face attribute ATTRIBUTE.
The optional argument FRAME is used to determine available fonts
and colors. If it is nil or not specified, the selected frame is
used. Value is an alist of (NAME . VALUE) if ATTRIBUTE expects a value
out of a set of discrete values. Value is `integerp' if ATTRIBUTE expects
and colors. If it is nil or not specified, the selected frame is used.
Value is an alist of (NAME . VALUE) if ATTRIBUTE expects a value out
of a set of discrete values. Value is `integerp' if ATTRIBUTE expects
an integer value."
(let ((valid
(case attribute