GNU bug report logs - #16138
24.3; skeleton-end-hook not run

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sat, 14 Dec 2013 07:22:02 UTC

Severity: minor

Found in version 24.3

Fixed in version 24.4

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; skeleton-end-hook not run
Date: Sat, 14 Dec 2013 15:20:32 +0800
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




This bug report was last modified 11 years and 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.