--- ess-5.2.0beta3/doc/ess.texi.20040304	Thu Mar  4 12:41:35 2004
+++ ess-5.2.0beta3/doc/ess.texi	Thu Mar  4 13:16:47 2004
@@ -2596,6 +2596,8 @@
 * Indentation variables::       Variables controlling indentation
 * Variables controlling interaction::  Variables controlling interaction
 					with the ESS process
+* Editing assembly files::      Variables for restoring assembly mode
+                                        associations
 @end menu
 
 @comment  node-name,  next,  previous,  up
@@ -2792,7 +2794,7 @@
 @end defvr
 
 @comment  node-name,  next,  previous,  up
-@node Variables controlling interaction,  , Indentation variables, Variables
+@node Variables controlling interaction, Editing assembly files, Indentation variables, Variables
 @appendixsubsec Variables controlling interaction with the ESS process
 
 @defvr {User Option} comint-input-ring-size
@@ -2814,6 +2816,31 @@
 case, passing a prefix argument to the eval command reverses the meaning
 of this variable.
 @end defvr
+
+@comment  node-name,  next,  previous,  up
+@node Editing assembly files, , Variables controlling interaction, Variables
+@appendixsubsec Variables for restoring assembly mode associations
+
+@defvr {User Option} auto-mode-alist
+Association list mapping file extensions to emacs modes.
+@end defvr
+
+@cindex Assembler mode
+@vindex auto-mode-alist
+@vindex ess-restore-asm-extns
+If you edit assembler files but not S files, you may want to retain
+the default mode for the .s and .S extensions, namely assembler
+mode.  ESS provides a function, @code{ess-restore-asm-extns} that you
+can use to restore default behavior for these files.
+
+You can add the following lisp to your @file{.emacs}:
+@example
+(add-hook 'ess-mode-hook 'ess-restore-asm-extns)
+(add-hook 'inferior-ess-mode-hook 'ess-restore-asm-extns)
+@end example
+@noindent
+This code removes the association between .s and .S files and S
+mode. 
 
 @comment  node-name,  next,  previous,  up
 @node Hooks, Keybindings, Variables, Customization
