diff options
| -rw-r--r-- | emacs/coding-config.el | 7 |
1 files changed, 7 insertions, 0 deletions
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) |
