summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2017-11-21 18:06:11 +0000
committerAlan Mackenzie <acm@muc.de>2017-11-21 18:06:11 +0000
commit735c8b516e09ecd056563569fb132e5ca56810d7 (patch)
treea3365aea1cae4e504f6fde72a223d8942f9563b3 /lisp/emacs-lisp/byte-run.el
parent92f0c4cd56d4dc1a92c116172404e65996c5884d (diff)
downloademacs-735c8b516e09ecd056563569fb132e5ca56810d7.tar.gz
emacs-735c8b516e09ecd056563569fb132e5ca56810d7.tar.bz2
emacs-735c8b516e09ecd056563569fb132e5ca56810d7.zip
Make c-defun-name analyze more thoroughly a function type which is a struct
This fixes bug #29293. * lisp/progmodes/cc-cmds.el (c-defun-name): When a struct (etc.) type is encountered, check whether it is the return type of a function rather than a declaration of the struct itself. Similarly adapt the cond arm which deals with functions properly to recognize struct return types.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions