Commit a12c7ea8 authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

c-defun-name: Return fully qualified method names when wanted in C++, etc.

* lisp/progmodes/cc-cmds.el (c-defun-name): Use
c-back-over-compound-identifier in place of c-backward-token-2 near the end
of the function.
parent d17aa3e5
......@@ -1870,7 +1870,7 @@ with a brace block."
(c-backward-token-2)
(c-backward-syntactic-ws))
(setq name-end (point))
(c-backward-token-2)
(c-back-over-compound-identifier)
(buffer-substring-no-properties (point) name-end)))))))))
(defun c-declaration-limits (near)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment