diff options
| author | Jim Blandy | 1992-06-24 05:09:26 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-06-24 05:09:26 +0000 |
| commit | daa3760289bd389e8c174c8d24b375cd875cd911 (patch) | |
| tree | 0abe3e6108e0e5a7c98f4c4aa68a495b0ecef09a /lisp/textmodes | |
| parent | a4275ad1c8f60239b0bad43cef97ca86d35a51a3 (diff) | |
| download | emacs-daa3760289bd389e8c174c8d24b375cd875cd911.tar.gz emacs-daa3760289bd389e8c174c8d24b375cd875cd911.zip | |
*** empty log message ***
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/text-mode.el | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index 56a4ab59c59..a87d2b09251 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | ;;; text-mode.el --- text mode, and its idiosyncratic commands. | 1 | ;;; text-mode.el --- text mode, and its idiosyncratic commands. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1992 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; This file is part of GNU Emacs. | 5 | ;; This file is part of GNU Emacs. |
| 6 | 6 | ||
| 7 | ;; GNU Emacs is free software; you can redistribute it and/or modify | 7 | ;; GNU Emacs is free software; you can redistribute it and/or modify |
| 8 | ;; it under the terms of the GNU General Public License as published by | 8 | ;; it under the terms of the GNU General Public License as published by |
| 9 | ;; the Free Software Foundation; either version 1, or (at your option) | 9 | ;; the Free Software Foundation; either version 2, or (at your option) |
| 10 | ;; any later version. | 10 | ;; any later version. |
| 11 | 11 | ||
| 12 | ;; GNU Emacs is distributed in the hope that it will be useful, | 12 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| @@ -94,18 +94,6 @@ if that value is non-nil." | |||
| 94 | (setq major-mode 'indented-text-mode) | 94 | (setq major-mode 'indented-text-mode) |
| 95 | (run-hooks 'text-mode-hook)) | 95 | (run-hooks 'text-mode-hook)) |
| 96 | 96 | ||
| 97 | (defun change-log-mode () | ||
| 98 | "Major mode for editing ChangeLog files. See M-x add-change-log-entry. | ||
| 99 | Almost the same as Indented Text mode, but prevents numeric backups | ||
| 100 | and sets `left-margin' to 8 and `fill-column' to 74." | ||
| 101 | (interactive) | ||
| 102 | (indented-text-mode) | ||
| 103 | (setq left-margin 8) | ||
| 104 | (setq fill-column 74) | ||
| 105 | (make-local-variable 'version-control) | ||
| 106 | (setq version-control 'never) | ||
| 107 | (run-hooks 'change-log-mode-hook)) | ||
| 108 | |||
| 109 | (defun center-paragraph () | 97 | (defun center-paragraph () |
| 110 | "Center each nonblank line in the paragraph at or after point. | 98 | "Center each nonblank line in the paragraph at or after point. |
| 111 | See center-line for more info." | 99 | See center-line for more info." |