summaryrefslogtreecommitdiff
path: root/README.md
blob: eb4c0244461e1afcdc955fa213be0572be1b948e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
### muttrc-mode
major mode for editing muttrc

#### Documentation:

To build the info file:
  `makeinfo muttrc-mode.texi -o muttrc-mode.info`

Install it to the system INFOPATH:
  `install -o root -g root -m644 muttrc-mode.info /usr/share/info/muttrc-mode.info`

#### Installation:

Add these lines to your Emacs config:
```elisp
  (autoload 'muttrc-mode "muttrc-mode.el"
        "Major mode to edit muttrc files" t)
  (setq auto-mode-alist
            (append '(("muttrc\\'" . muttrc-mode))
                    auto-mode-alist))
```
Install muttrc-mode.el to a directory somewhere in Emacs' load-path.

#### Limitations:

- Multiline commands are not properly handled and their use can lead
  to unexpected results.