diff --git a/Makefile b/Makefile index dca27d5..92f152c 100644 --- a/Makefile +++ b/Makefile @@ -323,7 +323,7 @@ endif $(git_conf) alias.todo "grep -nH -E -i 'todo:|note:|fixme:'" - $(git_conf) alias.snap '! gitdir="`git rev-parse --git-dir`" && : >>"$gitdir"/logs/refs/snapshot && cmt=`git stash create` && test -n "$$cmt" && git update-ref refs/snapshot $$cmt && echo Snapshot created: $$cmt' + $(git_conf) alias.snap '! gitdir="`git rev-parse --git-dir`" && : >>"$$gitdir"/logs/refs/snapshot && cmt=`git stash create` && test -n "$$cmt" && git update-ref refs/snapshot $$cmt && echo Snapshot created: $$cmt' #$(git_conf) alias.wc "!git ls-files -z | xargs -0 wc" # $(git_conf) push.default "simple" diff --git a/emacs.el b/emacs.el index ab0d087..34fc918 100644 --- a/emacs.el +++ b/emacs.el @@ -978,6 +978,9 @@ IF OK-IF-ALREADY-EXISTS is true force download." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; some modes and hooks +(when (autoload-eval-lazily 'term-run '(term-run-shell-command term-run)) + (define-key ctl-x-map "t" 'term-run-shell-command)) + (add-to-list 'safe-local-variable-values '(encoding utf-8)) (setq enable-local-variables :safe)