1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-14 18:10:32 -08:00
Commit graph

56 commits

Author SHA1 Message Date
John Paul Wallington
536db356f9 (rst-mode): Put docstring in right place. 2008-06-21 19:53:46 +00:00
Stefan Monnier
0e90a43c18 Run rst-define-level-faces when loading.
(rst-mode): Don't set the font-lock-multiline var.
(rst-font-lock-find-unindented-line, rst-font-lock-handle-adornment):
Set the font-lock-multiline property by hand.
2008-06-21 04:10:26 +00:00
Miles Bader
17150f4857 Add arch tagline 2008-06-20 19:38:53 +00:00
Stefan Monnier
0667a13268 (auto-mode-alist): Use rst-mode for *.rst and *.rest files. 2008-06-20 17:57:55 +00:00
Stefan Monnier
b47475199b Fix up docstring conventions.
Move vars to before their first use.
(rst-mode): Don't mess with font-lock-support-mode.
(rst-suggest-new-decoration, rst-adjust-decoration):
Avoid CL's copy-list.
(rst-delete-entire-line): Use line-beginning-position.
(rst-position): New fun.
(rst-straighten-decorations): Use it instead of CL's position.
(rst-straighten-bullets-region): Avoid CL's mapcar*.
(rst-toc-mode): Use define-derived-mode.
(rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2):
Remove unused var `in-par'.  Use `point' rather than `point-marker'.
(rst-line-block-region): Reduce redundancy.  Use the `pfxarg' arg.
(rst-replace-lines): Simplify.
2008-06-20 17:53:42 +00:00
Stefan Monnier
94e9c286ca New file. 2008-06-20 16:00:33 +00:00