Skip to content
Commit e5247721 authored by Akarsh Simha's avatar Akarsh Simha
Browse files

When a brace is inserted for a C++ lambda, insert ; after close-brace

The emacs lisp function insert-curly-brace in kde-emacs changes the
behavior of inserting a '{' in C-mode to also insert a matching
'}'. This works well when definitng methods, writing if and for
statements etc. However, with C++1x lambdas, there needs to be a ;
following the definition of the lambda. This patch incorporates that
behavior by matching lambda syntax.

REQUIRES more TESTING.
parent 8fec1e36
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