aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-system.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-06-26 16:26:51 +1000
committerYuchen Pei <id@ypei.org>2023-06-26 16:29:08 +1000
commita60e3f385317d4f35d1ab7a853ede6640b4fccc5 (patch)
treee53d7d34c9816860f020396151c1243edbb982d7 /emacs/.emacs.d/init/ycp-system.el
parent02dd867703e71304983bdc27ab92a20b23f0edf0 (diff)
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
Diffstat (limited to 'emacs/.emacs.d/init/ycp-system.el')
-rw-r--r--emacs/.emacs.d/init/ycp-system.el6
1 files changed, 1 insertions, 5 deletions
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)