[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/text-mode.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/text-mode.el |
Date: |
Wed, 06 Feb 2002 09:57:58 -0500 |
Index: emacs/lisp/textmodes/text-mode.el
diff -c emacs/lisp/textmodes/text-mode.el:1.36
emacs/lisp/textmodes/text-mode.el:1.37
*** emacs/lisp/textmodes/text-mode.el:1.36 Tue Oct 30 01:00:10 2001
--- emacs/lisp/textmodes/text-mode.el Wed Feb 6 09:57:57 2002
***************
*** 65,70 ****
--- 65,72 ----
(see the variable `adaptive-fill-mode').
\\{text-mode-map}
Turning on Text mode runs the normal hook `text-mode-hook'."
+ (make-local-variable 'text-mode-variant)
+ (setq text-mode-variant t)
(set (make-local-variable 'indent-line-function) 'indent-relative))
(define-derived-mode paragraph-indent-text-mode text-mode "Parindent"
***************
*** 92,104 ****
(run-hooks 'paragraph-indent-text-mode-hook))
(defalias 'indented-text-mode 'text-mode)
-
- (defun text-mode-hook-identify ()
- "Mark that this mode has run `text-mode-hook'.
- This is how `toggle-text-mode-auto-fill' knows which buffers to operate on."
- (set (make-local-variable 'text-mode-variant) t))
-
- (add-hook 'text-mode-hook 'text-mode-hook-identify)
(defun toggle-text-mode-auto-fill ()
"Toggle whether to use Auto Fill in Text mode and related modes.
--- 94,99 ----
- [Emacs-diffs] Changes to emacs/lisp/textmodes/text-mode.el,
Richard M. Stallman <=