all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Help debug an error in pre-command-hook?
@ 2012-02-09  8:33 Leo
  2012-02-09 18:25 ` martin rudalics
  2012-02-09 22:20 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Leo @ 2012-02-09  8:33 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-13  8:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-09  8:33 Help debug an error in pre-command-hook? Leo
2012-02-09 18:25 ` martin rudalics
2012-02-09 22:20 ` Stefan Monnier
2012-02-13  8:08   ` Leo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.