emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/nxml/nxml-mode.el,v


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/nxml/nxml-mode.el,v
Date: Thu, 03 Jul 2008 12:25:25 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Juanma Barranquero <lektu>      08/07/03 12:25:23

Index: nxml/nxml-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/nxml/nxml-mode.el,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- nxml/nxml-mode.el   21 Jun 2008 20:31:55 -0000      1.15
+++ nxml/nxml-mode.el   3 Jul 2008 12:25:21 -0000       1.16
@@ -44,7 +44,7 @@
 ;;; Customization
 
 (defgroup nxml nil
-  "New XML editing mode"
+  "New XML editing mode."
   :group 'languages
   :group 'wp)
 
@@ -86,9 +86,9 @@
 
 (defcustom nxml-attribute-indent 4
   "*Indentation for the attributes of an element relative to the start-tag.
-This only applies when the first attribute of a tag starts a line. In other
-cases, the first attribute on one line is indented the same as the first
-attribute on the previous line."
+This only applies when the first attribute of a tag starts a line.
+In other cases, the first attribute on one line is indented the same
+as the first attribute on the previous line."
   :group 'nxml
   :type 'integer)
 
@@ -97,7 +97,7 @@
 C-return will be bound to `nxml-complete' in any case.
 M-TAB gets swallowed by many window systems/managers, and
 `documentation' will show M-TAB rather than C-return as the
-binding `rng-complete' when both are bound.  So it's better
+binding for `nxml-complete' when both are bound.  So it's better
 to bind M-TAB only when it will work."
   :group 'nxml
   :set (lambda (sym flag)
@@ -125,7 +125,7 @@
 
 (defcustom nxml-default-buffer-file-coding-system nil
   "*Default value for `buffer-file-coding-system' for a buffer for a new file.
-Nil means use the default value of `buffer-file-coding-system' as normal.
+A value of nil means use the default value of `buffer-file-coding-system' as 
normal.
 A buffer's `buffer-file-coding-system' affects what 
\\[nxml-insert-xml-declaration] inserts."
   :group 'nxml
   :type 'coding-system)
@@ -363,7 +363,7 @@
 
 (defvar nxml-last-fontify-end nil
   "Position where fontification last ended.
-Nil if the buffer changed since the last fontification.")
+It is nil if the buffer changed since the last fontification.")
 (make-variable-buffer-local 'nxml-last-fontify-end)
 
 (defvar nxml-degraded nil
@@ -459,8 +459,8 @@
 Validation is provided by the related minor-mode `rng-validate-mode'.
 This also makes completion schema- and context- sensitive.  Element
 names, attribute names, attribute values and namespace URIs can all be
-completed. By default, `rng-validate-mode' is automatically enabled. You
-can toggle it using \\[rng-validate-mode] or change the default by
+completed. By default, `rng-validate-mode' is automatically enabled.
+You can toggle it using \\[rng-validate-mode] or change the default by
 customizing `rng-nxml-auto-validate-flag'.
 
 \\[indent-for-tab-command] indents the current line appropriately.
@@ -468,8 +468,8 @@
 and the variable `nxml-attribute-indent'.
 
 \\[nxml-insert-named-char] inserts a character reference using
-the character's name (by default, the Unicode name). \\[universal-argument] 
\\[nxml-insert-named-char]
-inserts the character directly.
+the character's name (by default, the Unicode name).
+\\[universal-argument] \\[nxml-insert-named-char] inserts the character 
directly.
 
 The Emacs commands that normally operate on balanced expressions will
 operate on XML markup items.  Thus \\[forward-sexp] will move forward
@@ -609,10 +609,10 @@
                    start end pre-change-length)))))))))
 
 (defun nxml-after-change1 (start end pre-change-length)
-  "After-change bookkeeping.  Returns a cons cell containing a
-possibly-enlarged change region.  You must call
-nxml-extend-region on this expanded region to obtain the full
-extent of the area needing refontification.
+  "After-change bookkeeping.
+Returns a cons cell containing a possibly-enlarged change region.
+You must call `nxml-extend-region' on this expanded region to obtain
+the full extent of the area needing refontification.
 
 For bookkeeping, call this function even when fontification is
 disabled."
@@ -840,7 +840,7 @@
 (defvar font-lock-beg) (defvar font-lock-end)
 (defun nxml-extend-region ()
   "Extend the region to hold the minimum area we can fontify with nXML.
-Called with font-lock-beg and font-lock-end dynamically bound."
+Called with `font-lock-beg' and `font-lock-end' dynamically bound."
   (let ((start font-lock-beg)
         (end font-lock-end))
 
@@ -1480,8 +1480,8 @@
 (defun nxml-merge-indent-context-type (context)
   "Merge the indent context type CONTEXT with the token in `xmltok-type'.
 Return the merged indent context type.  An indent context type is
-either nil or one of the symbols start-tag, end-tag, markup, comment,
-mixed."
+either nil or one of the symbols `start-tag', `end-tag', `markup',
+`comment', `mixed'."
   (cond ((memq xmltok-type '(start-tag partial-start-tag))
         (if (memq context '(nil start-tag comment))
             'start-tag
@@ -1629,8 +1629,8 @@
 characters references. However, if the variable
 `nxml-sexp-element-flag' is non-nil, then an element is treated as a
 single markup item.  A start-tag contains an element name followed by
-one or more attributes.  An end-tag contains just an element name.  An
-attribute value literals contains strings with no markup, entity
+one or more attributes.  An end-tag contains just an element name.
+An attribute value literals contains strings with no markup, entity
 references and character references.  A processing instruction
 consists of a target and a content string.  A comment or a CDATA
 section contains a single string.  An entity reference contains a
@@ -2512,9 +2512,9 @@
 (defun nxml-define-char-name-set (nameset alist)
   "Define a set of character names.
 NAMESET is a symbol identifying the set.
-Alist is a list where each member has the form (NAME CODE),
-where NAME is a string naming a character and code
-is an integer giving the Unicode scalar value of the character."
+ALIST is a list where each member has the form (NAME CODE),
+where NAME is a string naming a character and code is an
+integer giving the Unicode scalar value of the character."
   (when (get nameset 'nxml-char-name-set-defined)
     (error "Nameset `%s' already defined" nameset))
   (let ((iter alist))
@@ -2581,7 +2581,7 @@
     (load (get sym 'nxml-char-name-set-file))))
 
 (defun nxml-toggle-char-ref-extra-display (arg)
-  "*Toggle the display of extra information for character references."
+  "Toggle the display of extra information for character references."
   (interactive "P")
   (let ((new (if (null arg)
                 (not nxml-char-ref-extra-display)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]