Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove all mention of turn-on-artbollocks-mode

This function is no longer part of artbollocks-mode but the README and
the usage documentation in the source code both show it as the
preferred way to enable artbollocks-mode as a hook for other modes.
Attempting to use turn-on-artbollocks-mode can cause some obscure
errors, such as breaking log-edit-show-diff.  The correct way to
enable artbollocks-mode is to simply setup hooks to call that function
directly, and this patch changes the documentation to reflect that.

Signed-off-by: Eric James Michael Ritz <>
  • Loading branch information...
commit 93217162b0da8e69d62dbe62fc2bd85a4e0bc99d 1 parent 0a82d1b
@ejmr ejmr authored
Showing with 9 additions and 9 deletions.
  1. +2 −2 README
  2. +7 −7 artbollocks-mode.el
@@ -15,8 +15,8 @@ following to your .emacs file:
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 'turn-on-artbollocks-mode)
-(add-hook 'org-mode-hook 'turn-on-artbollocks-mode)
+(add-hook 'text-mode-hook 'artbollocks-mode)
+(add-hook 'org-mode-hook 'artbollocks-mode)
Manual Usage
14 artbollocks-mode.el
@@ -39,8 +39,8 @@
;; To use, save artbollocks-mode.el to a directory in your load-path.
;; (require 'artbollocks-mode)
-;; (add-hook 'text-mode-hook 'turn-on-artbollocks-mode)
-;; (add-hook 'org-mode-hook 'turn-on-artbollocks-mode)
+;; (add-hook 'text-mode-hook 'artbollocks-mode)
+;; (add-hook 'org-mode-hook 'artbollocks-mode)
;; or
@@ -194,7 +194,7 @@
(setq match-data-to-set (match-data))))
(when match-data-to-set
(set-match-data match-data-to-set)
- (goto-char (match-end 0))
+ (goto-char (match-end 0))
(defun artbollocks-lexical-illusions-search-for-keyword (limit)
@@ -210,19 +210,19 @@
(artbollocks-search-for-keyword artbollocks-jargon-regex limit))
(defconst artbollocks-lexicalkwlist
- '((artbollocks-lexical-illusions-search-for-keyword
+ '((artbollocks-lexical-illusions-search-for-keyword
(2 'artbollocks-font-lock-lexical-illusions-face t))))
(defconst artbollocks-passivekwlist
- '((artbollocks-passive-voice-search-for-keyword
+ '((artbollocks-passive-voice-search-for-keyword
(0 'artbollocks-font-lock-passive-voice-face t))))
(defconst artbollocks-weaselkwlist
- '((artbollocks-weasel-words-search-for-keyword
+ '((artbollocks-weasel-words-search-for-keyword
(0 'artbollocks-font-lock-weasel-words-face t))))
(defconst artbollocks-kwlist
- '((artbollocks-search-for-jargon
+ '((artbollocks-search-for-jargon
(0 'artbollocks-font-lock-artbollocks-face t))))
(defun artbollocks-add-keywords ()
Please sign in to comment.
Something went wrong with that request. Please try again.