DP> ;;; cfm.el --- Displays the current function or method on the mode-line
>> Could you explain how this is different from `which-func-mode'?

> class A
> {
>    void foo()
>    {
>             <--- displays A::foo here on the mode line
>    }
> }

which-func-mode is a general "framework" (a pompous word for so little
functionality), so your code could be changed to simply provide a new
function to put on which-func-functions.


        Stefan
_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to