comparison lisp/files.el @ 75786:732f9b589f8e

(change-major-mode-with-file-name): Fix typo in docstring.
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 11 Feb 2007 02:28:57 +0000
parents 83d10550e0c7
children bebed32eb12f 07774e5c3ff5 52a7f3f50b89
comparison
equal deleted inserted replaced
75785:8e99eb295ffa 75786:732f9b589f8e
2827 (defcustom change-major-mode-with-file-name t 2827 (defcustom change-major-mode-with-file-name t
2828 "Non-nil means \\[write-file] should set the major mode from the file name. 2828 "Non-nil means \\[write-file] should set the major mode from the file name.
2829 However, the mode will not be changed if 2829 However, the mode will not be changed if
2830 \(1) a local variables list or the `-*-' line specifies a major mode, or 2830 \(1) a local variables list or the `-*-' line specifies a major mode, or
2831 \(2) the current major mode is a \"special\" mode, 2831 \(2) the current major mode is a \"special\" mode,
2832 \ not suitable for ordinary files, or 2832 \ not suitable for ordinary files, or
2833 \(3) the new file name does not particularly specify any mode." 2833 \(3) the new file name does not particularly specify any mode."
2834 :type 'boolean 2834 :type 'boolean
2835 :group 'editing-basics) 2835 :group 'editing-basics)
2836 2836
2837 (defun set-visited-file-name (filename &optional no-query along-with-file) 2837 (defun set-visited-file-name (filename &optional no-query along-with-file)