diff options
| author | Eric S. Raymond | 1993-03-22 03:27:18 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 1993-03-22 03:27:18 +0000 |
| commit | e41b2db1da153e3ead4a01cb6e729cb99cad78ae (patch) | |
| tree | b1a9c9c673da674b66521088f3247ac5a34f5a02 /lisp/textmodes | |
| parent | 33d92c1f9de704cda9309731b4d6add46178aafc (diff) | |
| download | emacs-e41b2db1da153e3ead4a01cb6e729cb99cad78ae.tar.gz emacs-e41b2db1da153e3ead4a01cb6e729cb99cad78ae.zip | |
Added or corrected Commentary sections
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/bib-mode.el | 5 | ||||
| -rw-r--r-- | lisp/textmodes/bibtex.el | 7 | ||||
| -rw-r--r-- | lisp/textmodes/fill.el | 5 | ||||
| -rw-r--r-- | lisp/textmodes/ispell4.el | 5 | ||||
| -rw-r--r-- | lisp/textmodes/nroff-mode.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 4 |
7 files changed, 26 insertions, 8 deletions
diff --git a/lisp/textmodes/bib-mode.el b/lisp/textmodes/bib-mode.el index 5a9bd6e0e6f..d772ddcff1e 100644 --- a/lisp/textmodes/bib-mode.el +++ b/lisp/textmodes/bib-mode.el | |||
| @@ -21,14 +21,15 @@ | |||
| 21 | ;; along with GNU Emacs; see the file COPYING. If not, write to | 21 | ;; along with GNU Emacs; see the file COPYING. If not, write to |
| 22 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 22 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 23 | 23 | ||
| 24 | ;;; Code: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; Bib-Mode | ||
| 27 | ;; GNU Emacs code to help maintain databases compatible with (troff) | 26 | ;; GNU Emacs code to help maintain databases compatible with (troff) |
| 28 | ;; refer and lookbib. The file bib-file should be set to your | 27 | ;; refer and lookbib. The file bib-file should be set to your |
| 29 | ;; bibliography file. Keys are automagically inserted as you type, | 28 | ;; bibliography file. Keys are automagically inserted as you type, |
| 30 | ;; and appropriate keys are presented for various kinds of entries. | 29 | ;; and appropriate keys are presented for various kinds of entries. |
| 31 | 30 | ||
| 31 | ;;; Code: | ||
| 32 | |||
| 32 | (defvar bib-file "~/my-bibliography.bib" | 33 | (defvar bib-file "~/my-bibliography.bib" |
| 33 | "Default name of file used by `addbib'.") | 34 | "Default name of file used by `addbib'.") |
| 34 | 35 | ||
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 851bf9f64d9..b441eaa9fbd 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -25,6 +25,13 @@ | |||
| 25 | ;; along with GNU Emacs; see the file COPYING. If not, write to | 25 | ;; along with GNU Emacs; see the file COPYING. If not, write to |
| 26 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 26 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 27 | 27 | ||
| 28 | ;;; Commentary: | ||
| 29 | |||
| 30 | ;; A major mode for entering and editing BibTex files, validating | ||
| 31 | ;; them, canonicalizing them, and sorting them. Includes entry | ||
| 32 | ;; commands tailored to many different formats (book, master's this, | ||
| 33 | ;; journal article, etc). Has loads of options. | ||
| 34 | |||
| 28 | ;;; Change Log: | 35 | ;;; Change Log: |
| 29 | 36 | ||
| 30 | ;;; alarson@src.honeywell.com 92-Jan-31 | 37 | ;;; alarson@src.honeywell.com 92-Jan-31 |
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index eb2ba5be696..a905bef78d1 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -20,6 +20,11 @@ | |||
| 20 | ;; along with GNU Emacs; see the file COPYING. If not, write to | 20 | ;; along with GNU Emacs; see the file COPYING. If not, write to |
| 21 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 21 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 22 | 22 | ||
| 23 | ;;; Commentary: | ||
| 24 | |||
| 25 | ;; All the commands for filling text. These are documented in the Emacs | ||
| 26 | ;; manual. | ||
| 27 | |||
| 23 | ;;; Code: | 28 | ;;; Code: |
| 24 | 29 | ||
| 25 | (defconst fill-individual-varying-indent nil | 30 | (defconst fill-individual-varying-indent nil |
diff --git a/lisp/textmodes/ispell4.el b/lisp/textmodes/ispell4.el index ded85446595..4520ebcff0d 100644 --- a/lisp/textmodes/ispell4.el +++ b/lisp/textmodes/ispell4.el | |||
| @@ -20,6 +20,11 @@ | |||
| 20 | ;;along with GNU Emacs; see the file COPYING. If not, write to | 20 | ;;along with GNU Emacs; see the file COPYING. If not, write to |
| 21 | ;;the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 21 | ;;the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 22 | 22 | ||
| 23 | ;;; Commentary: | ||
| 24 | |||
| 25 | ;; This package provides a graceful interface to ispell, the GNU | ||
| 26 | ;; spelling checker. | ||
| 27 | |||
| 23 | ;;; Code: | 28 | ;;; Code: |
| 24 | 29 | ||
| 25 | (defvar ispell-have-new-look t | 30 | (defvar ispell-have-new-look t |
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el index bc2013412de..5c87ca567ff 100644 --- a/lisp/textmodes/nroff-mode.el +++ b/lisp/textmodes/nroff-mode.el | |||
| @@ -67,8 +67,8 @@ closing requests for requests that are used in matched pairs." | |||
| 67 | (setq comment-start-skip "\\\\\"[ \t]*") | 67 | (setq comment-start-skip "\\\\\"[ \t]*") |
| 68 | (make-local-variable 'comment-column) | 68 | (make-local-variable 'comment-column) |
| 69 | (setq comment-column 24) | 69 | (setq comment-column 24) |
| 70 | (make-local-variable 'comment-indent-hook) | 70 | (make-local-variable 'comment-indent-function) |
| 71 | (setq comment-indent-hook 'nroff-comment-indent) | 71 | (setq comment-indent-function 'nroff-comment-indent) |
| 72 | (run-hooks 'text-mode-hook 'nroff-mode-hook)) | 72 | (run-hooks 'text-mode-hook 'nroff-mode-hook)) |
| 73 | 73 | ||
| 74 | ;;; Compute how much to indent a comment in nroff/troff source. | 74 | ;;; Compute how much to indent a comment in nroff/troff source. |
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index d03e631a91e..b6200ac0bc7 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el | |||
| @@ -89,8 +89,8 @@ Use \\[sgml-validate] to validate your document with an SGML parser." | |||
| 89 | (setq comment-start "<!-- ") | 89 | (setq comment-start "<!-- ") |
| 90 | (make-local-variable 'comment-end) | 90 | (make-local-variable 'comment-end) |
| 91 | (setq comment-end " -->") | 91 | (setq comment-end " -->") |
| 92 | (make-local-variable 'comment-indent-hook) | 92 | (make-local-variable 'comment-indent-function) |
| 93 | (setq comment-indent-hook 'sgml-comment-indent) | 93 | (setq comment-indent-function 'sgml-comment-indent) |
| 94 | (make-local-variable 'comment-start-skip) | 94 | (make-local-variable 'comment-start-skip) |
| 95 | ;; This will allow existing comments within declarations to be | 95 | ;; This will allow existing comments within declarations to be |
| 96 | ;; recognized. | 96 | ;; recognized. |
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index cee97ffa407..7835bfd120a 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -437,8 +437,8 @@ tex-shell-hook is called." | |||
| 437 | (setq comment-start "%") | 437 | (setq comment-start "%") |
| 438 | (make-local-variable 'comment-start-skip) | 438 | (make-local-variable 'comment-start-skip) |
| 439 | (setq comment-start-skip "\\(\\(^\\|[^\\]\\)\\(\\\\\\\\\\)*\\)\\(%+ *\\)") | 439 | (setq comment-start-skip "\\(\\(^\\|[^\\]\\)\\(\\\\\\\\\\)*\\)\\(%+ *\\)") |
| 440 | (make-local-variable 'comment-indent-hook) | 440 | (make-local-variable 'comment-indent-function) |
| 441 | (setq comment-indent-hook 'tex-comment-indent) | 441 | (setq comment-indent-function 'tex-comment-indent) |
| 442 | (make-local-variable 'compare-windows-whitespace) | 442 | (make-local-variable 'compare-windows-whitespace) |
| 443 | (setq compare-windows-whitespace 'tex-categorize-whitespace) | 443 | (setq compare-windows-whitespace 'tex-categorize-whitespace) |
| 444 | (make-local-variable 'tex-command) | 444 | (make-local-variable 'tex-command) |