]> git.eshelyaron.com Git - emacs.git/commit
Detect DEFUNs as outline-minor-mode headings in Emacs sources in c-ts-mode.
authorJuri Linkov <juri@linkov.net>
Wed, 14 Feb 2024 07:20:48 +0000 (09:20 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 14 Feb 2024 08:17:15 +0000 (09:17 +0100)
commite389e37683eb37b8e0d8d92a7314ebf0cc20a029
tree0be165e1c3f128726bee0416b869bdc5aac548c1
parenta5baddd193c526fea4625bcd304b247ef7796262
Detect DEFUNs as outline-minor-mode headings in Emacs sources in c-ts-mode.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--outline-predicate): When
c-ts-mode-emacs-sources-support is t, use c-ts-mode--emacs-defun-p
(bug#68824).

(cherry picked from commit fa74c7f88a8f3216665ea386c5b6355e3660fb79)
lisp/progmodes/c-ts-mode.el