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

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

bug#22272: 24.5; nonfunctional Emacs with a bad global mode (post-comman


From: Michael Heerdegen
Subject: bug#22272: 24.5; nonfunctional Emacs with a bad global mode (post-command-hook).
Date: Thu, 31 Dec 2015 21:31:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Bruno BARBIER <brubar.cs@gmail.com> writes:

> The simplest solution is probably to use a spare Emacs when
> developping a new global mode and to catch errors in it; that makes
> sense.

Also compile your code before loading it:

In BAD-global-mode:
bad.el:30:31:Warning: identity called with 0 args, but requires 1
bad.el:32:3:Warning: identity called with 0 arguments, but requires 1

The byte compiler finds most of such obvious errors.


Michael.





reply via email to

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