Skip to content

Commit

Permalink
Switch from idle-highlight to idle-highlight-mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
nonsequitur committed May 6, 2011
1 parent 9da1a50 commit 90251f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion starter-kit-defuns.el
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ Symbols matching the text at point are put first in the completion list."
(defun turn-off-tool-bar ()
(tool-bar-mode -1))

(defun turn-on-idle-highlight ()
(idle-highlight-mode t))

(defun add-watchwords ()
(font-lock-add-keywords
nil '(("\\<\\(FIX\\|TODO\\|FIXME\\|HACK\\|REFACTOR\\):"
Expand All @@ -103,7 +106,7 @@ Symbols matching the text at point are put first in the completion list."
(add-hook 'coding-hook 'turn-on-save-place-mode)
(add-hook 'coding-hook 'pretty-lambdas)
(add-hook 'coding-hook 'add-watchwords)
(add-hook 'coding-hook 'idle-highlight)
(add-hook 'coding-hook 'turn-on-idle-highlight)

(defun run-coding-hook ()
"Enable things that are convenient across all coding buffers."
Expand Down
2 changes: 1 addition & 1 deletion starter-kit-elpa.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

(require 'cl)

(defvar starter-kit-packages (list 'idle-highlight
(defvar starter-kit-packages (list 'idle-highlight-mode
'ruby-mode
'inf-ruby
'css-mode
Expand Down

0 comments on commit 90251f3

Please sign in to comment.