]> git.eshelyaron.com Git - emacs.git/commit
Introduce a function to CC Mode which displays the current function name
authorAlan Mackenzie <acm@muc.de>
Fri, 3 Nov 2017 19:45:17 +0000 (19:45 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 3 Nov 2017 19:45:17 +0000 (19:45 +0000)
commita0d30d6369018deeffcae174a3c615e582de74d3
tree3e0f21a0f8aae8b225bdce7f15c36d187690db57
parent383abc8898cbdb46e460adffbccfda8b2236d24e
Introduce a function to CC Mode which displays the current function name

Remove an erroneous interactive specification from two functions.

* lisp/progmodes/cc-cmds.el (c-display-defun-name): New command.
(c-defun-name, c-cpp-define-name): Remove interactive specification.

* lisp/progmodes/cc-mode.el (c-mode-base-map): Add binding C-c C-z for the new
command.

* doc/misc/cc-mode.texi (Other Commands): Add documentation for the new
command.
doc/misc/cc-mode.texi
lisp/progmodes/cc-cmds.el
lisp/progmodes/cc-mode.el