From e9075a27ed3dad6416ffca31f733e0f2de46e00e Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Thu, 6 Aug 2026 16:07:31 -0700 Subject: emacs: mv from rul/ to rul- function names --- .emacs.d/rul-lisp/packages/rul-org.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '.emacs.d/rul-lisp/packages/rul-org.el') 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 -- cgit v1.2.3