diff --git a/emacs.el b/emacs.el index ccea807..e978734 100644 --- a/emacs.el +++ b/emacs.el @@ -1,6 +1,6 @@ ;;; emacs.el --- 10sr emacs initialization -;; Time-stamp: <2018-10-10 19:49:14 JST 10sr> +;; Time-stamp: <2018-10-11 00:27:24 JST 10sr> ;;; Code: @@ -2238,29 +2238,13 @@ use for the buffer. It defaults to \"*recetf-show*\"." (define-key ctl-x-map (kbd "C-r") 'recently-show) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; git tramp - -(require 'tramp) - -;; TODO: autoload -(defconst git-tramp-method "git" - "Method to connect git repository.") - -(defun git-tramp-add-method () - "Add git tramp method." - ;; (add-to-list 'tramp-methods - ;; `(,git-tramp-method - ;; (tramp-login-program ,git-tramp-git-executable) - ;; (tramp-login-args (,docker-tramp-docker-options ("exec" "-it") ("-u" "%u") ("%h") ("sh"))) - ;; (tramp-remote-shell "/bin/sh") - ;; (tramp-remote-shell-args ("-i" "-c")))) - ) +;; git revision + +(defun git-revision-open-tree (treeish) + "Open git tree buffer of TREEISH.") -;; ;; TODO: autoload -;; (eval-after-load 'tramp -;; '(progn -;; (git-tramp-add-method) -;; (tramp-set-completion-function git-tramp-method git-tramp-completion-function-alist))) +(defun git-revision-open (commit) + "Open git tree buffer of COMMIT.") ;; Local Variables: