/[emacs]/emacs/lisp/textmodes/text-mode.el
ViewVC logotype

Diff of /emacs/lisp/textmodes/text-mode.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38 by rms, Fri Feb 8 13:57:03 2002 UTC revision 1.39 by rms, Thu Feb 14 01:28:57 2002 UTC
# Line 95  Turning on Paragraph-Indent minor mode r Line 95  Turning on Paragraph-Indent minor mode r
95                
96  (defalias 'indented-text-mode 'text-mode)  (defalias 'indented-text-mode 'text-mode)
97    
98  ;; No-op, defined because some user customizations use it.  ;; This can be made a no-op once all modes that use text-mode-hook
99  (defun text-mode-hook-identify () nil)  ;; are "derived" from text-mode.
100    (defun text-mode-hook-identify ()
101      "Mark that this mode has run `text-mode-hook'.
102    This is how `toggle-text-mode-auto-fill' knows which buffers to operate on."
103      (set (make-local-variable 'text-mode-variant) t))
104    
105    (add-hook 'text-mode-hook 'text-mode-hook-identify)
106    
107  (defun toggle-text-mode-auto-fill ()  (defun toggle-text-mode-auto-fill ()
108    "Toggle whether to use Auto Fill in Text mode and related modes.    "Toggle whether to use Auto Fill in Text mode and related modes.

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26