-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathREADME
More file actions
executable file
·44 lines (28 loc) · 1.2 KB
/
README
File metadata and controls
executable file
·44 lines (28 loc) · 1.2 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
artbollocks-mode.el
===================
artbollocks-mode.el is an Emacs minor mode for avoiding cliches and bad grammar
when writing about art (or other topics).
Installation
============
This package is available on MELPA
OR
Place artbollocks-mode.el in a directory on Emacs' load-path, and add the
following to your .emacs file:
(autoload 'artbollocks-mode "artbollocks-mode")
If you wish artbollocks-mode to be loaded automatically, add the following
to your .emacs file immediately after the autoload statement:
(add-hook 'text-mode-hook 'artbollocks-mode)
Manual Usage
============
If you do not add the add-hook statements to your .emacs file, you will have to
enable artbollocks-mode manually by typing the following in Emacs:
M-x artbollocks-mode
NOTE: If you manually enable artbollocks-mode, you might need to force
re-fontification initially. To do so, type the following in Emacs:
M-x font-lock-fontify-buffer
Art Bollocks Mode highlights those pesky weasel words that slip into
writing.
To load it automatically, add this to your ~/.emacs.d/init.el or ~/.emacs:
(add-to-list 'load-path "/wherever/you/extracted/artbollocks-mode")
(require 'artbollocks-mode)
(add-hook 'text-mode-hook 'artbollocks-mode)