help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: prevent hook vanishing


From: akrl
Subject: Re: prevent hook vanishing
Date: Fri, 18 May 2018 21:38:32 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix)

John Mastro <john.b.mastro@gmail.com> writes:

> Hm, then you may have another problem. The following simple example
> works for me:
>
>      (defun boom-after-change (&rest _)
>        (ignore-errors (error (message "Boom!"))))
>
>      (add-hook 'after-change-functions #'boom-after-change nil t)
>
> Hope that helps
>
>          John

Thanks John,
that worked perfectly for me now, seems I was wrapping at the wrong level.

Bests!
  akrl

-- 
akrl@sdf.org
SDF Public Access UNIX System - https://sdf.org


reply via email to

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