diff options
| author | Karl Heuer | 1996-05-15 14:56:35 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-05-15 14:56:35 +0000 |
| commit | 2806002f190c75750a350cb161ed38c83fdeefe7 (patch) | |
| tree | 791e3793a6c311902cb0479ad42d4ca5511d31b0 | |
| parent | 8079d0cdf6deae39807f949b1cd31ff73e0d716c (diff) | |
| download | emacs-2806002f190c75750a350cb161ed38c83fdeefe7.tar.gz emacs-2806002f190c75750a350cb161ed38c83fdeefe7.zip | |
Several doc fixes.
(enriched-mode-hook): Renamed from enriched-mode-hooks.
| -rw-r--r-- | lisp/enriched.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/enriched.el b/lisp/enriched.el index 0cb96a1dcd5..c8336de99db 100644 --- a/lisp/enriched.el +++ b/lisp/enriched.el | |||
| @@ -149,7 +149,7 @@ Any property that is neither on this list nor dealt with by | |||
| 149 | ;;; Internal variables | 149 | ;;; Internal variables |
| 150 | 150 | ||
| 151 | (defvar enriched-mode nil | 151 | (defvar enriched-mode nil |
| 152 | "True if `enriched-mode' is in use.") | 152 | "True if Enriched mode is in use.") |
| 153 | (make-variable-buffer-local 'enriched-mode) | 153 | (make-variable-buffer-local 'enriched-mode) |
| 154 | 154 | ||
| 155 | (if (not (assq 'enriched-mode minor-mode-alist)) | 155 | (if (not (assq 'enriched-mode minor-mode-alist)) |
| @@ -157,10 +157,10 @@ Any property that is neither on this list nor dealt with by | |||
| 157 | (cons '(enriched-mode " Enriched") | 157 | (cons '(enriched-mode " Enriched") |
| 158 | minor-mode-alist))) | 158 | minor-mode-alist))) |
| 159 | 159 | ||
| 160 | (defvar enriched-mode-hooks nil | 160 | (defvar enriched-mode-hook nil |
| 161 | "Functions to run when entering `enriched-mode'. | 161 | "Functions to run when entering Enriched mode. |
| 162 | If you set variables in this hook, you should arrange for them to be restored | 162 | If you set variables in this hook, you should arrange for them to be restored |
| 163 | to their old values if enriched-mode is left. One way to do this is to add | 163 | to their old values if you leave Enriched mode. One way to do this is to add |
| 164 | them and their old values to `enriched-old-bindings'.") | 164 | them and their old values to `enriched-old-bindings'.") |
| 165 | 165 | ||
| 166 | (defvar enriched-old-bindings nil | 166 | (defvar enriched-old-bindings nil |
| @@ -180,9 +180,9 @@ The value is a list of \(VAR VALUE VAR VALUE...).") | |||
| 180 | "Minor mode for editing text/enriched files. | 180 | "Minor mode for editing text/enriched files. |
| 181 | These are files with embedded formatting information in the MIME standard | 181 | These are files with embedded formatting information in the MIME standard |
| 182 | text/enriched format. | 182 | text/enriched format. |
| 183 | Turning the mode on runs `enriched-mode-hooks'. | 183 | Turning the mode on runs `enriched-mode-hook'. |
| 184 | 184 | ||
| 185 | More information about enriched-mode is available in the file | 185 | More information about Enriched mode is available in the file |
| 186 | etc/enriched.doc in the Emacs distribution directory. | 186 | etc/enriched.doc in the Emacs distribution directory. |
| 187 | 187 | ||
| 188 | Commands: | 188 | Commands: |
| @@ -208,7 +208,7 @@ Commands: | |||
| 208 | (setq buffer-file-format | 208 | (setq buffer-file-format |
| 209 | (cons 'text/enriched buffer-file-format))) | 209 | (cons 'text/enriched buffer-file-format))) |
| 210 | ;; Save old variable values before we change them. | 210 | ;; Save old variable values before we change them. |
| 211 | ;; These will be restored if we exit enriched-mode. | 211 | ;; These will be restored if we exit Enriched mode. |
| 212 | (setq enriched-old-bindings | 212 | (setq enriched-old-bindings |
| 213 | (list 'buffer-display-table buffer-display-table | 213 | (list 'buffer-display-table buffer-display-table |
| 214 | 'indent-line-function indent-line-function | 214 | 'indent-line-function indent-line-function |
| @@ -230,7 +230,7 @@ Commands: | |||
| 230 | (setq default-text-properties | 230 | (setq default-text-properties |
| 231 | (plist-put default-text-properties | 231 | (plist-put default-text-properties |
| 232 | 'front-sticky sticky)))) | 232 | 'front-sticky sticky)))) |
| 233 | (run-hooks 'enriched-mode-hooks))) | 233 | (run-hooks 'enriched-mode-hook))) |
| 234 | (set-buffer-modified-p mod) | 234 | (set-buffer-modified-p mod) |
| 235 | (force-mode-line-update))) | 235 | (force-mode-line-update))) |
| 236 | 236 | ||
| @@ -239,7 +239,7 @@ Commands: | |||
| 239 | ;;; | 239 | ;;; |
| 240 | 240 | ||
| 241 | (defvar enriched-mode-map nil | 241 | (defvar enriched-mode-map nil |
| 242 | "Keymap for `enriched-mode'.") | 242 | "Keymap for Enriched mode.") |
| 243 | 243 | ||
| 244 | (if (null enriched-mode-map) | 244 | (if (null enriched-mode-map) |
| 245 | (fset 'enriched-mode-map (setq enriched-mode-map (make-sparse-keymap)))) | 245 | (fset 'enriched-mode-map (setq enriched-mode-map (make-sparse-keymap)))) |