Browse files

Merge pull request #72 from nonsequitur/idle-highlight-mode

Switch from idle-highlight to idle-highlight-mode.
  • Loading branch information...
2 parents 9da1a50 + 90251f3 commit f2a3699a7bb4a7e6e1cc43891bbdf1bf9d588eaa @technomancy committed May 19, 2011
Showing with 5 additions and 2 deletions.
  1. +4 −1 starter-kit-defuns.el
  2. +1 −1 starter-kit-elpa.el
@@ -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 ()
nil '(("\\<\\(FIX\\|TODO\\|FIXME\\|HACK\\|REFACTOR\\):"
@@ -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."
@@ -4,7 +4,7 @@
(require 'cl)
-(defvar starter-kit-packages (list 'idle-highlight
+(defvar starter-kit-packages (list 'idle-highlight-mode

5 comments on commit f2a3699

FYI: after this commit, Emacs would stop processing saying "idle-highlight-mode not found." I commented out idle-highlight-mode, and installed it via package interface, and then re-enabled. Perhaps there's a better way to cope with that problem when this list changes?

Same here. Was trying to get started with the PeepCode Emacs movie, using Cocoa Emacs and hit the same problem. I deleted the 'idle-highlight mode in starter-kit-elpa.el. It complained, but compiled everything else.


technomancy replied Jun 23, 2011

I just tried this and couldn't repro. Does M-x package-refresh-contents fix the problem?

Dunno. I fixed my issue weeks ago, but thought I'd mention the problem. FWIW, I'm not sure it would have worked. The failure mode was pretty nasty. I don't remember being able to access any package stuff. I had to edit the file, and remove it from the list at first. Then I was able to use the package interface, and then, I was able to re-enable it, IIRC.

Please sign in to comment.