emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp ChangeLog textmodes/rst.el


From: Juanma Barranquero
Subject: [Emacs-diffs] emacs/lisp ChangeLog textmodes/rst.el
Date: Thu, 18 Dec 2008 16:19:17 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Juanma Barranquero <lektu>      08/12/18 16:19:17

Modified files:
        lisp           : ChangeLog 
        lisp/textmodes : rst.el 

Log message:
        * textmodes/rst.el (rst-promote-region): Reflow docstring.
          (rst-mode-map, rst-mode-hook, rst-section-tree-rec)
          (rst-repeat-last-character): Fix typos in docstrings.
          (rst-mode, rst-backward-section): Doc fixes.
        Committed on the Free edition of March Hare Software CVSNT Server.
        Upgrade to CVS Suite for more features and support:
        http://march-hare.com/cvsnt/

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.14963&r2=1.14964
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/textmodes/rst.el?cvsroot=emacs&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.14963
retrieving revision 1.14964
diff -u -b -r1.14963 -r1.14964
--- ChangeLog   18 Dec 2008 10:54:21 -0000      1.14963
+++ ChangeLog   18 Dec 2008 16:19:12 -0000      1.14964
@@ -1,3 +1,10 @@
+2008-12-18  Juanma Barranquero  <address@hidden>
+
+       * textmodes/rst.el (rst-promote-region): Reflow docstring.
+       (rst-mode-map, rst-mode-hook, rst-section-tree-rec)
+       (rst-repeat-last-character): Fix typos in docstrings.
+       (rst-mode, rst-backward-section): Doc fixes.
+
 2008-12-18  Ulf Jasper  <address@hidden>
 
        * net/newst-treeview.el (newsticker-groups-filename): Made obsolete.

Index: textmodes/rst.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/rst.el,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- textmodes/rst.el    3 Jul 2008 15:18:32 -0000       1.8
+++ textmodes/rst.el    18 Dec 2008 16:19:16 -0000      1.9
@@ -302,7 +302,7 @@
     (define-key map [(control c) (?5)] 'rst-compile-slides-preview)
 
     map)
-  "Keymap for ReStructuredText mode commands.
+  "Keymap for reStructuredText mode commands.
 This inherits from Text mode.")
 
 
@@ -344,8 +344,8 @@
 
 
 (defcustom rst-mode-hook nil
-  "Hook run when Rst Mode is turned on.
-The hook for Text Mode is run before this one."
+  "Hook run when Rst mode is turned on.
+The hook for Text mode is run before this one."
   :group 'rst
   :type '(hook))
 
@@ -367,18 +367,19 @@
 ;;;###autoload
 (define-derived-mode rst-mode text-mode "ReST"
   "Major mode for editing reStructuredText documents.
-
+\\<rst-mode-map>
 There are a number of convenient keybindings provided by
-Rst mode.  The main one is \\[rst-adjust\], it updates or rotates
+Rst mode.  The main one is \\[rst-adjust], it updates or rotates
 the section title around point or promotes/demotes the
 decorations within the region (see full details below).
 Use negative prefix arg to rotate in the other direction.
-\\{rst-mode-map}
 
-Turning on `rst-mode' calls the normal hooks `text-mode-hook' and
-`rst-mode-hook'. This mode also supports font-lock highlighting.
-You may customize `rst-mode-lazy' to toggle font-locking of
-blocks."
+Turning on `rst-mode' calls the normal hooks `text-mode-hook'
+and `rst-mode-hook'.  This mode also supports font-lock
+highlighting.  You may customize `rst-mode-lazy' to toggle
+font-locking of blocks.
+
+\\{rst-mode-map}"
   :abbrev-table rst-mode-abbrev-table
   :syntax-table rst-mode-syntax-table
   :group 'rst
@@ -1369,9 +1370,9 @@
 (defun rst-promote-region (&optional demote)
   "Promote the section titles within the region.
 
-With argument DEMOTE or a prefix argument, demote the
-section titles instead.  The algorithm used at the boundaries of
-the hierarchy is similar to that used by `rst-adjust-decoration'."
+With argument DEMOTE or a prefix argument, demote the section
+titles instead.  The algorithm used at the boundaries of the
+hierarchy is similar to that used by `rst-adjust-decoration'."
   (interactive)
 
   (let* ((demote (or current-prefix-arg demote))
@@ -1643,10 +1644,10 @@
 (defun rst-section-tree-rec (decos lev)
   "Recursive guts of the section tree construction.
 DECOS is a cons cell whose cdr is the remaining list of
-decorations, and we change it as we consume them.  LEV is the
-current level of that node.  This function returns a pair of the
-subtree that was built.  This treats the decos list
-destructively."
+decorations, and we change it as we consume them.  LEV is
+the current level of that node.  This function returns a
+pair of the subtree that was built.  This treats the DECOS
+list destructively."
 
   (let ((ndeco (cadr decos))
         node
@@ -2138,8 +2139,7 @@
     ))
 
 (defun rst-backward-section ()
-  "Like `rst-forward-section', except move back one title.
-With a prefix argument, move backward by a page."
+  "Like `rst-forward-section', except move back one title."
   (interactive)
   (rst-forward-section -1))
 
@@ -3366,7 +3366,7 @@
 ;; For sections, better to use the specialized function above, but this can
 ;; be useful for creating separators.
 (defun rst-repeat-last-character (&optional tofill)
-  "Fills the current line up to the length of the preceding line (if not
+  "Fill the current line up to the length of the preceding line (if not
 empty), using the last character on the current line.  If the preceding line is
 empty, we use the `fill-column'.
 




reply via email to

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