From 9464b0bbff9d090bca08b837f37db5df92bef53a Mon Sep 17 00:00:00 2001 From: Levi Date: Thu, 19 Sep 2024 11:38:28 +0200 Subject: [PATCH] bugfixes --- emacs/module/module-automount.el | 26 -------------------------- emacs/module/module-denote-multidir.el | 2 +- emacs/module/module-remotefs.el | 2 +- 3 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 emacs/module/module-automount.el diff --git a/emacs/module/module-automount.el b/emacs/module/module-automount.el deleted file mode 100644 index 67f6da0..0000000 --- a/emacs/module/module-automount.el +++ /dev/null @@ -1,26 +0,0 @@ -;;; module-alioth.el --- alioth automounts -*- lexical-binding: t; -*- - -;;; Commentary: - -;;; Code: - -(defun ensure-alioth-mounted () - "Check if ~/alioth is mounted, and if not, mount it." - (unless (file-exists-p "~/alioth/.exists") - (mount-alioth-sshfs))) - -(defun umount-alioth-sshfs () - "Unmount Alioth Uberspace using SSHFS." - (interactive) - (let ((default-directory "~")) - (shell-command "umount ~/alioth"))) - -(defun mount-alioth-sshfs () - "Mount Alioth Uberspace using SSHFS." - (interactive) - (let ((default-directory "~")) - (shell-command "sshfs lkn@alioth.uberspace.de:/home/lkn/ ~/alioth"))) - -(provide 'module-alioth) - -;;; module-alioth.el ends here. diff --git a/emacs/module/module-denote-multidir.el b/emacs/module/module-denote-multidir.el index 4ec6333..b45a4ee 100644 --- a/emacs/module/module-denote-multidir.el +++ b/emacs/module/module-denote-multidir.el @@ -8,7 +8,7 @@ (require 'module-denote) (require 'module-denote-index) -(require 'module-alioth) ;; depends on alioth for some functions +(require 'module-remotefs) ;; depends on alioth for some functions (autoload 'my/denote-create-note "denote" nil t) diff --git a/emacs/module/module-remotefs.el b/emacs/module/module-remotefs.el index 9418aac..f68cb8d 100644 --- a/emacs/module/module-remotefs.el +++ b/emacs/module/module-remotefs.el @@ -62,4 +62,4 @@ (provide 'module-remotefs) -;;; module-alioth.el ends here. +;;; module-remotefs.el ends here.