all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16138: 24.3; skeleton-end-hook not run
@ 2013-12-14  7:20 Leo Liu
  2013-12-18 18:39 ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Liu @ 2013-12-14  7:20 UTC (permalink / raw)
  To: 16138

I had to make use of skeleton-end-hook and was surprised to find that it
actually doesn't work.

1. Emacs -q
2. (setq skeleton-pair t)
3. (global-set-key "(" 'skeleton-pair-insert-maybe)
4. (add-hook 'skeleton-end-hook (lambda () (error "bomb!!!")))

now try ( to trigger skeleton-pair-insert-maybe in some buffer and
nothing should happen.

Leo





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

end of thread, other threads:[~2013-12-20  0:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-14  7:20 bug#16138: 24.3; skeleton-end-hook not run Leo Liu
2013-12-18 18:39 ` Glenn Morris
2013-12-19  2:54   ` Leo Liu
2013-12-19 13:38     ` Stefan Monnier
2013-12-20  0:41       ` Leo Liu

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.