From: <go...@us...> - 2005-11-25 05:02:37
|
Author: goodger Date: 2005-11-25 06:02:29 +0100 (Fri, 25 Nov 2005) New Revision: 4100 Modified: trunk/docutils/tools/editors/emacs/rst.el Log: fixed variable names Modified: trunk/docutils/tools/editors/emacs/rst.el =================================================================== --- trunk/docutils/tools/editors/emacs/rst.el 2005-11-25 05:01:36 UTC (rev 4099) +++ trunk/docutils/tools/editors/emacs/rst.el 2005-11-25 05:02:29 UTC (rev 4100) @@ -250,8 +250,8 @@ ;; like this: ;; ;; (add-hook 'text-mode-hook 'rst-set-paragraph-separation) -(defvar rst-extra-paragraph-separate - "\\|[ \t]*\\([-+*]\\|[0-9]+\\.\\) " +(defvar rst-extra-paragraph-start + "\\|[ \t]*\\([-+*] \\|[0-9]+\\. \\)" "Extra parapraph-separate patterns to add for text-mode.") ;; FIXME: What about the missing >? ;; The author uses a hardcoded for paragraph-separate: "\f\\|>*[ \t]*$" @@ -261,7 +261,7 @@ ;; FIXME: the variable should be made automatically buffer local rather than ;; using a function here, this function is unnecessary. (make-local-variable 'paragraph-start) ; prevent it growing every time - (setq paragraph-start (concat paragraph-start rst-extra-paragraph-separate))) + (setq paragraph-start (concat paragraph-start rst-extra-paragraph-start))) ;; FIXME: What about paragraph-separate? paragraph-start and paragraph-separate ;; are different. The author hardcodes the value to |