[ESS] highlight parenthesis --- problems with .emacs in emacs23

Kjetil Halvorsen kjetil1001 at gmail.com
Thu Oct 29 22:49:56 CET 2009


I am now using emacs23 from ubuntu 9.10 (and ess 5.5, R 2-10.0)

The following code
 Highlight parenthesis stuff:
    (require 'highlight-parentheses)
 (setq hl-paren-colors '("gold" "IndianRed" "cyan" "green" "orange"
  (defun hpm-on ()
   (highlight-parentheses-mode t))
 (add-hook 'ess-mode-hook 'hpm-on)
 (add-hook 'inferior-ess-mode-hook 'hpm-on)
 (add-hook 'tex-mode-hook 'hpm-on)
 (add-hook 'text-mode-hook 'hpm-on)
 in my .emacs file (which I have stolen from this list ...)
worked in emacs22, but now gives the following error under staurtup:

Warning (initialization): An error occurred while loading `/home/kjetil/.emacs':

Symbol's value as variable is void: Highlight



"... an entire human genome would fit on a music CD."

--- www.thinkgene.com

More information about the ESS-help mailing list