[all-commits] [llvm/llvm-project] b0af89: [emacs] Add regexps for defuns
Luke Lau via All-commits
all-commits at lists.llvm.org
Mon Aug 21 02:43:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0af89cbdad445e735a3506029dbb61c75ecaab2
https://github.com/llvm/llvm-project/commit/b0af89cbdad445e735a3506029dbb61c75ecaab2
Author: Luke Lau <luke at igalia.com>
Date: 2023-08-21 (Mon, 21 Aug 2023)
Changed paths:
M llvm/utils/emacs/llvm-mode.el
Log Message:
-----------
[emacs] Add regexps for defuns
Previously `M-x mark-defun` and friends wouldn't work properly, and would
highlight something at the top of the buffer. This adds a regexp for top-level
functions so the defun functions should work as expected, and also adds a
regexp for extracting their name so which-function-mode should work now too.
Reviewed By: goldstein.w.n
Differential Revision: https://reviews.llvm.org/D158196
More information about the All-commits
mailing list