Mercurial > emacs
comparison lisp/files.el @ 32030:4c0c7d7a9edc
(auto-mode-alist): Add pattern for `#*mail*...'.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 30 Sep 2000 12:14:46 +0000 |
parents | ce648c184860 |
children | 3cd2e815deaa |
comparison
equal
deleted
inserted
replaced
32029:aed9b8b49f47 | 32030:4c0c7d7a9edc |
---|---|
1452 ("\\.sm2$" . snmpv2-mode) | 1452 ("\\.sm2$" . snmpv2-mode) |
1453 ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode) | 1453 ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode) |
1454 ("\\.[eE]?[pP][sS]$" . ps-mode) | 1454 ("\\.[eE]?[pP][sS]$" . ps-mode) |
1455 ("configure\\.in\\'" . autoconf-mode) | 1455 ("configure\\.in\\'" . autoconf-mode) |
1456 ("BROWSE\\'" . ebrowse-tree-mode) | 1456 ("BROWSE\\'" . ebrowse-tree-mode) |
1457 ("\\.ebrowse\\'" . ebrowse-tree-mode))) | 1457 ("\\.ebrowse\\'" . ebrowse-tree-mode) |
1458 ("#\\*mail\\*" . mail-mode))) | |
1458 "Alist of filename patterns vs corresponding major mode functions. | 1459 "Alist of filename patterns vs corresponding major mode functions. |
1459 Each element looks like (REGEXP . FUNCTION) or (REGEXP FUNCTION NON-NIL). | 1460 Each element looks like (REGEXP . FUNCTION) or (REGEXP FUNCTION NON-NIL). |
1460 \(NON-NIL stands for anything that is not nil; the value does not matter.) | 1461 \(NON-NIL stands for anything that is not nil; the value does not matter.) |
1461 Visiting a file whose name matches REGEXP specifies FUNCTION as the | 1462 Visiting a file whose name matches REGEXP specifies FUNCTION as the |
1462 mode function to use. FUNCTION will be called, unless it is nil. | 1463 mode function to use. FUNCTION will be called, unless it is nil. |