>> A better way to do this is to change the interactive specification of >> `debug-on-entry' to call `function-called-at-point'. > > How about this?
There are other commands using `a' letter to read function names (like `elp-instrument-function', etc.) where getting the default function name from the current buffer would be useful too. So maybe it's better to implement this in `call-interactively' for all commands using `a'? -- Juri Linkov http://www.jurta.org/emacs/ _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel