emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help debug an error in pre-command-hook?


From: Leo
Subject: Help debug an error in pre-command-hook?
Date: Thu, 09 Feb 2012 16:33:20 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (Mac OS X 10.6.8)

I am seeing an error:

Error in pre-command-hook: 

(wrong-type-argument symbolp (lambda (&rest --cl-rest--) (interactive)
(apply (lambda (G91516 G91517 G91518) (setq
minor-mode-overriding-map-alist (symbol-value G91518)) (bury-buffer) (if
(and (symbol-value G91517) (not (one-window-p))) (delete-window)) (if
(window-live-p (symbol-value G91516)) (select-window (symbol-value
G91516)))) (quote --origwin--) (quote --delete-p--) (quote --old--)
--cl-rest--)))

Before the error, the value of pre-command-hook is:

   pre-command-hook is a variable defined in `C source code'.
   Its value is (t comint-preinput-scroll-to-bottom)
   
   Local in buffer *Python*; global value is 
   (delete-selection-pre-hook tooltip-hide)


But looking at the source of comint-preinput-scroll-to-bottom, I cannot
see where it can generate this error? Any idea how to debug this?

Thanks in advance.

Leo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]