From: John Paul Wallington Date: Sat, 21 Jun 2008 19:53:46 +0000 (+0000) Subject: (rst-mode): Put docstring in right place. X-Git-Tag: emacs-pretest-23.0.90~4590 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=536db356f95596886aa07a5ed312b2e298685d15;p=emacs.git (rst-mode): Put docstring in right place. --- diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index fdd3585b599..a82dd905ed8 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el @@ -366,9 +366,6 @@ The value of this variable is used when Rst Mode is turned on." ;;;###autoload (add-to-list 'auto-mode-alist '("\\.re?st\\'" . rst-mode)) ;;;###autoload (define-derived-mode rst-mode text-mode "ReST" - :abbrev-table rst-mode-abbrev-table - :syntax-table rst-mode-syntax-table - :group 'rst "Major mode for editing reStructuredText documents. There are a number of convenient keybindings provided by @@ -382,6 +379,9 @@ 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." + :abbrev-table rst-mode-abbrev-table + :syntax-table rst-mode-syntax-table + :group 'rst (set (make-local-variable 'paragraph-separate) paragraph-start) (set (make-local-variable 'indent-line-function) 'indent-relative-maybe)