From 42657d86e68ca136b1532275679390803eea17e7 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Sun, 21 Jan 2024 21:11:04 -0800 Subject: asm tags --- emacs/coding-config.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs/coding-config.el b/emacs/coding-config.el index 881d311..ad41b54 100644 --- a/emacs/coding-config.el +++ b/emacs/coding-config.el @@ -31,6 +31,13 @@ (setq asm-comment-char ?#) +(add-hook 'asm-mode-hook + (lambda () + (add-hook 'after-save-hook + (lambda () + (shell-command + "find . -iregex '.*\\.[sS]' -exec etags -l none -r '/\\([a-zA-Z0-9\\-_]+\\):/\1/' {} +"))))) + ;; nice eglot binds (global-set-key (kbd "C-c f") 'eglot-code-action-quickfix) (global-set-key (kbd "C-c C-f") 'eglot-code-actions) -- cgit v1.2.3