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

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

bug#15609: 24.3.50; `debug-on-entry' default when cursor is on a functio


From: Stefan Monnier
Subject: bug#15609: 24.3.50; `debug-on-entry' default when cursor is on a function name
Date: Mon, 14 Oct 2013 15:55:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> (defun foo (arg) "..." 42)
> M-x debug-on-entry RET M-n
> This is pretty much brain-dead behavior.  The default should be `foo',

The default *is* `foo' (at least if `foo' is defined as a function).
In your recipe, the default is `defun' which is arguably not very
useful, but note that you can't use `foo' because debug-on-entry can
only be used for functions that are already defined, so `foo' would not
be a better default.


        Stefan






reply via email to

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