]> code.delx.au - gnu-emacs/commit
Make double-click-1 work with unbalanced parens in CC Mode. Fixes bug#5560.
authorAlan Mackenzie <acm@muc.de>
Thu, 25 Feb 2016 09:31:23 +0000 (09:31 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 25 Feb 2016 09:31:23 +0000 (09:31 +0000)
commit95f5a4337c9092ab81d57d8ab5f341fc182d10cd
treead21a55c17e51bdd4226c66efe41a693b3137e34
parent7d206fc6044dc429a8c037856d30529a403395f5
Make double-click-1 work with unbalanced parens in CC Mode.  Fixes bug#5560.

* lisp/mouse.el (mouse-start-end): check the syntax of alleged parens with
`syntax-after' to ensure syntax-table text properties are respected.
lisp/mouse.el