[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help debug an error in pre-command-hook?
From: |
martin rudalics |
Subject: |
Re: Help debug an error in pre-command-hook? |
Date: |
Thu, 09 Feb 2012 19:25:02 +0100 |
> 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?
I can neither find
(setq minor-mode-overriding-map-alist
nor
origwin
anywhere in the Emacs sources so maybe this is something from your
customizations or a package you load. Try printing the values of
`pre-command-hook' from within `comint-preinput-scroll-to-bottom'.
martin