diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2008-07-03 12:25:23 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2008-07-03 12:25:23 +0000 |
commit | 10545bd83d3b5c7f6082d56a59449ff1eddae2ff (patch) | |
tree | e6a516cfc9c44e80a6874a534f0e9a9908d0ba1f /lisp/nxml/rng-loc.el | |
parent | 946598bf94b5a0fac989f3108a6ee2bc425611de (diff) | |
download | emacs-10545bd83d3b5c7f6082d56a59449ff1eddae2ff.tar.gz emacs-10545bd83d3b5c7f6082d56a59449ff1eddae2ff.tar.bz2 emacs-10545bd83d3b5c7f6082d56a59449ff1eddae2ff.zip |
Fix typos, and general docstring cleanup.
* nxml/nxml-glyph.el (nxml-glyph-set-hook):
* nxml/nxml-uchnm.el (nxml-unicode-blocks)
(nxml-unicode-block-char-name-set):
* nxml/nxml-util.el (nxml-debug, nxml-make-namespace):
* nxml/rng-nxml.el (rng-set-state-after):
* nxml/rng-uri.el (rng-file-name-uri): Fix typo in docstring.
* nxml/rng-cmpct.el (rng-c-lookup-create, rng-c-parse-primary)
(rng-c-parse-annotation-body):
* nxml/rng-dt.el (rng-dt-namespace-context-getter): Reflow docstrings.
* nxml/nxml-mode.el (nxml, nxml-mode, nxml-after-change1)
(nxml-extend-region, nxml-merge-indent-context-type, nxml-complete)
(nxml-forward-balanced-item, nxml-dynamic-markup-word)
(nxml-define-char-name-set, nxml-toggle-char-ref-extra-display):
Fix typos in docstrings.
(nxml-attribute-indent): Reflow docstring.
(nxml-bind-meta-tab-to-complete-flag, nxml-last-fontify-end)
(nxml-default-buffer-file-coding-system): Doc fixes.
* nxml/nxml-ns.el (nxml-ns-state, nxml-ns-initial-state)
(nxml-ns-set-prefix): Fix typos in docstrings.
(nxml-ns-push-state, nxml-ns-pop-state, nxml-ns-set-default):
Reflow docstring.
(nxml-ns-get-prefix, nxml-ns-get-default): Doc fixes.
* nxml/nxml-outln.el (nxml-hide-all-text-content)
(nxml-show-direct-text-content, nxml-show-direct-subheadings)
(nxml-hide-direct-text-content, nxml-hide-subheadings)
(nxml-hide-text-content, nxml-show-subheadings, nxml-hide-other)
(nxml-outline-display-rest, nxml-outline-set-overlay)
(nxml-section-tag-forward, nxml-section-tag-backward)
(nxml-back-to-section-start): Fix typos in docstrings.
* nxml/nxml-parse.el (nxml-validate-function, nxml-parse-file):
Doc fixes.
* nxml/nxml-rap.el (nxml-scan-end, nxml-move-tag-backwards)
(nxml-scan-element-forward, nxml-scan-element-backward): Doc fixes.
(nxml-scan-after-change): Fix typo in docstring.
* nxml/rng-match.el (rng-being-compiled, rng-normalize-choice-list)
(rng-name-class-possible-names): Doc fixes.
(rng-memo-map-add, rng-intern-group, rng-match-possible-namespace-uris)
(rng-match-possible-start-tag-names, rng-match-possible-value-strings):
Fix typos in docstrings.
(rng-intern-group-shortcut, rng-intern-choice-shortcut):
Reflow docstrings.
* nxml/rng-util.el (rng-uniquify-eq, rng-uniquify-equal): Doc fixes.
(rng-substq, rng-complete-before-point): Fix typos in docstrings.
* nxml/rng-xsd.el (rng-xsd-make-date-time-regexp)
(rng-xsd-convert-date-time): Reflow docstrings.
(rng-xsd-compile): Fix typo in docstring.
* nxml/rng-loc.el (rng-current-schema-file-name)
(rng-locate-schema-file-using, rng-locate-schema-file-from-type-id):
Doc fixes.
(rng-set-schema-file): Fix typo in docstring.
* nxml/rng-valid.el (rng-error-count, rng-validate-mode)
(rng-do-some-validation, rng-process-start-tag, rng-process-text):
Fix typos in docstrings.
(rng-message-overlay, rng-conditional-up-to-date-start)
(rng-conditional-up-to-date-end): Doc fixes.
(rng-next-error, rng-previous-error): Reflow docstrings.
* nxml/xmltok.el (xmltok-attribute-raw-normalized-value): Doc fix.
(xmltok-dtd, xmltok-dependent-regions, xmltok-attribute-refs)
(xmltok-valid-char-p, xmltok-standalone, xmltok-forward-prolog)
(xmltok-merge-attributes): Fix typos in docstrings.
(xmltok-make-attribute, xmltok-forward-special)
(xmltok-get-declared-encoding-position): Reflow docstrings.
* nxml/xsd-regexp.el (xsdre-char-class-to-range-list): Doc fix.
(xsdre-range-list-union, xsdre-check-range-list, xsdre-current-regexp):
Fix typos in docstrings.
Diffstat (limited to 'lisp/nxml/rng-loc.el')
-rw-r--r-- | lisp/nxml/rng-loc.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/nxml/rng-loc.el b/lisp/nxml/rng-loc.el index cb49b301dc9..9ae94d6470a 100644 --- a/lisp/nxml/rng-loc.el +++ b/lisp/nxml/rng-loc.el @@ -33,7 +33,7 @@ (defvar rng-current-schema-file-name nil "Filename of schema being used for current buffer. -Nil if using a vacuous schema.") +It is nil if using a vacuous schema.") (make-variable-buffer-local 'rng-current-schema-file-name) (defvar rng-schema-locating-files-default @@ -91,7 +91,7 @@ Nil if using a vacuous schema.") FILENAME must be the name of a file containing a schema. The extension of FILENAME is used to determine what kind of schema it is. The variable `rng-schema-loader-alist' maps from schema -extensions to schema loader functions. The function +extensions to schema loader functions. The function `rng-c-load-schema' is the loader for RELAX NG compact syntax. The association is between the buffer and the schema: the association is lost when the buffer is killed." @@ -117,7 +117,7 @@ lost when the buffer is killed." rng-any-element)) (setq rng-current-schema-file-name filename) (run-hooks 'rng-schema-change-hook)) - + (defun rng-load-schema (filename) (let* ((extension (file-name-extension filename)) (loader (cdr (assoc extension rng-schema-loader-alist)))) @@ -132,7 +132,7 @@ lost when the buffer is killed." "Display a message saying what schema `rng-validate-mode' is using." (interactive) (if rng-current-schema-file-name - (message "Using schema %s" + (message "Using schema %s" (abbreviate-file-name rng-current-schema-file-name)) (message "Using vacuous schema"))) @@ -188,7 +188,7 @@ If TYPE-ID is non-nil, then locate the schema for this TYPE-ID." (defun rng-locate-schema-file-using (files) "Locate a schema using the schema locating files FILES. FILES is a list of file-names. -Return either a URI, a list (TYPE-ID) where TYPE-ID is a string +Return either a URI, a list (TYPE-ID) where TYPE-ID is a string, or nil." (let (rules ;; List of types that override normal order-based @@ -381,7 +381,7 @@ NS is t if the document has a non-nil, but not otherwise known namespace." (defun rng-locate-schema-file-from-type-id (type-id file) "Locate the schema for type id TYPE-ID using schema locating file FILE. -Return either a URI, a list (TYPE-ID) where TYPE-ID is a string +Return either a URI, a list (TYPE-ID) where TYPE-ID is a string, or nil." (let ((rules (rng-get-parsed-schema-locating-file file)) schema rule) @@ -425,7 +425,7 @@ or nil." (cons (list file mtime parsed) rng-schema-locating-file-alist))) parsed)))) - + (defconst rng-locate-namespace-uri (nxml-make-namespace "http://thaiopensource.com/ns/locating-rules/1.0")) |