]> git.eshelyaron.com Git - emacs.git/commit
Fix mouse clicks on characters with parenthesis syntax
authorEli Zaretskii <eliz@gnu.org>
Sat, 4 Jan 2025 10:51:40 +0000 (12:51 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 4 Jan 2025 20:58:39 +0000 (21:58 +0100)
commit554b9c37d8f868199ea482a3f26c192b420b7459
tree82e14a9f167d4eb759422ca9a101f84e8331afee
parentadb614f7bff8ac41a9bfe154a313726e062531c2
Fix mouse clicks on characters with parenthesis syntax

* lisp/mouse.el (context-menu-region, mouse-skip-word)
(mouse-start-end): Use 'syntax-after' instead of 'char-syntax', to
pay attention to 'syntax-table' text properties.  (Bug#74415)

(cherry picked from commit 742b792175bd7149b1401a45aae1af83798bf188)
lisp/mouse.el