From 2c6afef1f6bb75097bd192ccb8a88489da4eb063 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 2 Sep 2022 02:37:20 +0100 Subject: afio frame toggling and clean-ups --- init.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 4eb3986..38013e6 100644 --- a/init.el +++ b/init.el @@ -916,7 +916,7 @@ (message "%s" (jao-shell-string "curl -s" "https://wttr.in/?format=%l++%m++%C+%c+%t+%w++%p")) - (jao-afio--goto-scratch) + (jao-afio-goto-scratch) (if-let ((b (get-buffer "*wttr*"))) (progn (pop-to-buffer b) (term-send-string "clear;curl wttr.in\n")) @@ -1068,7 +1068,7 @@ (defun jao-recoll-open-html (file &optional page) (if (string-match-p "\.epub\\'" file) (find-file file) - (jao-afio--goto-www) + (jao-afio-goto-www) (if jao-afio-use-w3m (w3m-find-file file) (eww-open-file file)))) (defun jao-recoll-open-pdf (file &optional page) @@ -1886,7 +1886,7 @@ (when (string-equal (buffer-file-name (car buffs)) file) (throw 'done (car buffs))) (setq buffs (cdr buffs)))))) - (jao-afio--goto-docs) + (jao-afio-goto-docs) (if b (pop-to-buffer b) (find-file file)) (when page (jao-doc-view-goto-page page height)))) (jao-river-enabled (jao-river-open-with-zathura file page)) @@ -1903,7 +1903,7 @@ (defun jao-select-pdf () (interactive) (jao-buffer-same-mode '(pdf-view-mode doc-view-mode) - #'jao-afio--goto-docs)) + #'jao-afio-goto-docs)) ;; doc:// links for browse-url (defun jao-open-doc-url (url &rest _) @@ -3001,7 +3001,7 @@ (defun jao-telega () (interactive) - (when jao-tracking-use-scratch (jao-afio--goto-scratch)) + (when jao-tracking-use-scratch (jao-afio-goto-scratch)) (if (get-buffer telega-root-buffer-name) (pop-to-buffer telega-root-buffer-name) (telega))) @@ -3020,7 +3020,7 @@ (defun jao-all-chats () (interactive) (when jao-tracking-use-scratch - (jao-afio--goto-scratch) + (jao-afio-goto-scratch) (delete-other-windows)) (jao-chats t)) @@ -3260,8 +3260,8 @@ (use-package jao-random-album :demand t) -(jao-def-exec-in-term "aptitude" "aptitude" (jao-afio--goto-scratch)) -(jao-def-exec-in-term "htop" "htop" (jao-afio--goto-scratch)) +(jao-def-exec-in-term "aptitude" "aptitude" (jao-afio-goto-scratch)) +(jao-def-exec-in-term "htop" "htop" (jao-afio-goto-scratch)) (transient-define-prefix jao-transient-streaming () [:description @@ -3334,7 +3334,7 @@ ;;; Global transients (defun jao-list-packages () (interactive) - (jao-afio--goto-scratch) + (jao-afio-goto-scratch) (package-list-packages)) (defun jao-window-system-p () -- cgit v1.2.3