1. 07 Oct, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/nxml/nxml-mode.el: Use lexical-binding and syntax-propertize. · da3e5ebb
      Stefan Monnier authored
      (font-lock-beg, font-lock-end): Move before first use.
      (nxml-mode): Use syntax-propertize-function.
      (nxml-after-change, nxml-after-change1): Adjust accordingly.
      (nxml-extend-after-change-region): Remove.
      * lisp/nxml/nxml-ns.el: Use lexical-binding.
      (nxml-ns-save): Use `declare'.
      (nxml-ns-prefixes-for): Avoid add-to-list.
      * lisp/nxml/nxml-util.el: Use lexical-binding.
      (nxml-with-degradation-on-error, nxml-with-invisible-motion):
      Use `declare'.
      * lisp/nxml/rng-match.el: Use lexical-binding.
      (rng--ipattern): Use cl-defstruct.
      (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
      (rng-cons-group-after, rng-subst-group-after)
      (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
      Use closures instead of `(lambda...).
      * lisp/nxml/xmltok.el: Use lexical-binding.
      (xmltok-save): Use `declare'.
      (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
      da3e5ebb
  2. 01 Jan, 2013 1 commit
  3. 11 Jan, 2012 1 commit
  4. 05 Jan, 2012 1 commit
  5. 25 Jan, 2011 1 commit
  6. 15 Jan, 2011 1 commit
  7. 02 Jan, 2011 1 commit
  8. 13 Jan, 2010 1 commit
  9. 05 Jan, 2009 1 commit
  10. 03 Jul, 2008 1 commit
    • Juanma Barranquero's avatar
      Fix typos, and general docstring cleanup. · 10545bd8
      Juanma Barranquero authored
      * 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.
      10545bd8
  11. 27 Jun, 2008 1 commit
  12. 06 May, 2008 1 commit
  13. 09 Jan, 2008 1 commit
  14. 28 Nov, 2007 1 commit
  15. 23 Nov, 2007 2 commits