summaryrefslogtreecommitdiff
path: root/.config/emacs/modules
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2026-04-01 16:37:45 +0200
committerThomas Voss <thomas.voss@humanwave.nl> 2026-04-01 16:37:45 +0200
commitafb7e260a9b8580fe67a1b83377cf2bab81cec1a (patch)
tree39065f9ac902e2454ab3bf3ca1cf26c23c2357e9 /.config/emacs/modules
parentc6f9af3fecaff6e03fb1cb759a091b3ed0cf221e (diff)
emacs: Add slash at the end of regexp
Diffstat (limited to '.config/emacs/modules')
-rw-r--r--.config/emacs/modules/mm-humanwave.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/emacs/modules/mm-humanwave.el b/.config/emacs/modules/mm-humanwave.el
index ad79703..d52546e 100644
--- a/.config/emacs/modules/mm-humanwave.el
+++ b/.config/emacs/modules/mm-humanwave.el
@@ -88,7 +88,7 @@ If METHOD is nil, a GET request is performed."
(defun mm-humanwave-handler-topic-imenu-setup ()
"Setup custom imenu index for `python-ts-mode'."
- (when (and (string-match-p "/handlers?" (or (buffer-file-name) ""))
+ (when (and (string-match-p "/handlers?/" (or (buffer-file-name) ""))
(derived-mode-p #'python-ts-mode))
(setq-local imenu-create-index-function
#'mm-humanwave-handler-topic-imenu-index)))