From a60e3f385317d4f35d1ab7a853ede6640b4fccc5 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 26 Jun 2023 16:26:51 +1000 Subject: Some small fixes and changes * emacs/.emacs.d/init/ycp-editing.el: fix a require * emacs/.emacs.d/init/ycp-prog.el: fix sql require * emacs/.emacs.d/init/ycp-system.el: remove double removal of tramp from file-name-handler-alist * emacs/.emacs.d/init/ycp-vc.el: add a post commit hook to revert project buffers * emacs/.emacs.d/lisp/my/my-mariadb.el: fix sql require * emacs/.emacs.d/lisp/my/my-project.el: add a command to revert project buffers --- emacs/.emacs.d/init/ycp-system.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'emacs/.emacs.d/init/ycp-system.el') diff --git a/emacs/.emacs.d/init/ycp-system.el b/emacs/.emacs.d/init/ycp-system.el index 6dbcf7d..5951aac 100644 --- a/emacs/.emacs.d/init/ycp-system.el +++ b/emacs/.emacs.d/init/ycp-system.el @@ -50,11 +50,6 @@ "tramp"))) ;; Use discovered value for ssh options (setq tramp-ssh-controlmaster-options "") - ;; Stop tramp from interfering with everything - (setq file-name-handler-alist - (seq-filter - (--remove (string-match-p "^tramp" (symbol-name (cdr it))) - file-name-handler-alist))) (connection-local-set-profile-variables 'termux-bash '((explicit-shell-file-name . "/data/data/com.termux/files/usr/bin/bash") @@ -90,6 +85,7 @@ '(:application tramp :protocol "adb") 'adb-shell) (require 'my-system) + ;; Stop tramp from interfering with everything (setq file-name-handler-alist (my-file-handlers-without-tramp))) (provide 'ycp-system) -- cgit v1.2.3