aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages/rul-org.el
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2026-08-06 16:07:31 -0700
committerRaul Benencia <id@rbenencia.name>2026-08-06 16:07:31 -0700
commite9075a27ed3dad6416ffca31f733e0f2de46e00e (patch)
treea1297d360cc581ba402329c66f409f5904e751cf /.emacs.d/rul-lisp/packages/rul-org.el
parent4aa098ce3a77582b3fd07b857cc9b0dc01eacd21 (diff)
emacs: mv from rul/ to rul- function names
Diffstat (limited to '.emacs.d/rul-lisp/packages/rul-org.el')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-org.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-org.el b/.emacs.d/rul-lisp/packages/rul-org.el
index 12a88dc..02688fd 100644
--- a/.emacs.d/rul-lisp/packages/rul-org.el
+++ b/.emacs.d/rul-lisp/packages/rul-org.el
@@ -18,29 +18,29 @@
(use-package org-pomodoro
:ensure t
:config
- (defun rul/disable-notifications ()
+ (defun rul-disable-notifications ()
"Disable GNOME notifications."
(shell-command "gsettings set org.gnome.desktop.notifications show-banners false"))
- (defun rul/enable-notifications ()
+ (defun rul-enable-notifications ()
"Enable GNOME notifications."
(shell-command "gsettings set org.gnome.desktop.notifications show-banners true"))
;; Add hooks for Pomodoro start and finish
- (add-hook 'org-pomodoro-started-hook #'rul/disable-notifications)
- (add-hook 'org-pomodoro-finished-hook #'rul/enable-notifications)
- (add-hook 'org-pomodoro-killed-hook #'rul/enable-notifications))
+ (add-hook 'org-pomodoro-started-hook #'rul-disable-notifications)
+ (add-hook 'org-pomodoro-finished-hook #'rul-enable-notifications)
+ (add-hook 'org-pomodoro-killed-hook #'rul-enable-notifications))
;; (add-hook 'org-mode-hook 'turn-off-auto-fill)
;; (add-hook 'auto-save-hook 'org-save-all-org-buffers)
(add-hook 'org-mode-hook 'visual-line-mode)
-(defun rul/org-reset-element-cache-after-revert ()
+(defun rul-org-reset-element-cache-after-revert ()
"Reset Org's element cache after reverting an Org buffer."
(when (derived-mode-p 'org-mode)
(org-element-cache-reset)))
-(add-hook 'after-revert-hook #'rul/org-reset-element-cache-after-revert)
+(add-hook 'after-revert-hook #'rul-org-reset-element-cache-after-revert)
(use-package org-download
:ensure t
nihil fit ex nihilo