summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs-init.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs-init.org b/emacs-init.org
index 5054727..d108527 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -1858,6 +1858,16 @@ This was inspired from [[http://endlessparentheses.com/the-toggle-map-and-wizard
<<fpi-bindings>>
#+END_SRC
+Make next command act on local host.
+#+begin_src emacs-lisp :noweb-ref fpi-bindings
+(defmacro fpi/as-local (func)
+ (let ((default-directory temporary-file-directory))
+ func
+ ;; (shell-command "explorer")
+ ))
+(fpi/as-local (pwd))
+(fpi/as-local default-directory)
+#+end_src
** Base commands (simple.el)
#+begin_src emacs-lisp
(use-package simple