summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authoryuzu-eva <cafebabe@disroot.org>2025-04-08 14:36:44 +0200
committeryuzu-eva <cafebabe@disroot.org>2025-04-08 14:36:44 +0200
commit7e684c959a58a8ff3596a7f99efc1be7245845d0 (patch)
treebe13815e688913cd10c76f515a3ed6faaaf30910 /config.org
parentc349299741fec230a3d9a7fc0ca84f16d38576e6 (diff)
added a func to create ctags
Diffstat (limited to 'config.org')
-rw-r--r--config.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.org b/config.org
index d2d0124..56dfc5e 100644
--- a/config.org
+++ b/config.org
@@ -497,6 +497,17 @@ Inserts a newline above or below, like O and o in vim
(add-hook 'compilation-filter-hook 'colorize-compilation-buffer)
#+end_src
+** Create TAGS
+
+#+begin_src emacs-lisp
+ (defun create-tags (dir-name)
+ "Create TAGS file."
+ (interactive "DDirectory")
+ (cd dir-name)
+ (shell-command "ctags -e -R *")
+ )
+#+end_src
+
* Use-Package section
** Initialize =diminish=