add-hook problem in xemacs

Rodney Sparapani rodney.sparapani at duke.edu
Tue Jan 11 15:11:13 CET 2000


> ESS-help:
>
> I'm using xemacs 21.1.  I haven't been able to replicate this error in
> fsf emacs, but the two systems are set up with different packages at our
> site so that doesn't necessarily mean anything.  Any ideas?  Here's the
> code that set it off in my ~/.emacs:
> (add-hook ess-mode-hook
>  '(lambda ()
>   (local-set-key [tab] 'tab-to-tab-stop)
>   (local-set-key [(control c)tab] 'sas-indent-line)
>  )
>  )
>
>  Here's the error message (I also get a similar error with
>  ess-mode-load-hook):
>
>  Signaling: (wrong-type-argument symbolp (ess-mode-xemacs-menu
>  #<compiled-function nil "...(5)" [relabel-menu-item ("ESS") "E%_SS"] 3>
>  turn-on-font-lock))
>    boundp((ess-mode-xemacs-menu #<compiled-function nil "...(5)"
>  [relabel-menu-item ... "E%_SS"] 3> turn-on-font-lock))
>    add-hook((ess-mode-xemacs-menu #<compiled-function nil "...(5)"
>  [relabel-menu-item ... "E%_SS"] 3> turn-on-font-lock) (lambda nil
>  (local-set-key [tab] (quote tab-to-tab-stop)) (local-set-key [... tab]
>  (quote sas-indent-line))))
>    load-internal("~/.emacs" t t t nil nil)
>    load("~/.emacs" t t t)
>    load-user-init-file("")
>    load-init-file()
>    command-line()
>    normal-top-level()
>

--
WWLD? (What Would Lombardi Do?)
Was "Name That Tune" Rigged?
Rodney Sparapani, Duke Clinical Research Institute
For addressing and schedule information
see http://www.duke.edu/~spara002


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list