From: Francois Fleuret Date: Mon, 27 Feb 2017 10:05:14 +0000 (+0100) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=713d9f26677696fc9f5e0cd1137aa185522a0d60;p=elisp.git Update. --- diff --git a/emacs.el b/emacs.el index f95d7b7..ffd9665 100644 --- a/emacs.el +++ b/emacs.el @@ -1196,7 +1196,7 @@ goback argument, go back where we were." (load "vc-git") -(defun ff/git-push () (interactive) +(defun ff/git-pull-push () (interactive) (shell-command "git pull && git push" nil) ) @@ -1204,7 +1204,7 @@ goback argument, go back where we were." (shell-command "git pull" nil) ) -(define-key global-map [(control x) (v) (p)] 'ff/git-push) +(define-key global-map [(control x) (v) (p)] 'ff/git-pull-push) (define-key global-map [(control x) (v) (P)] 'ff/git-pull) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -1773,7 +1773,7 @@ require 'optim' "Adds all the stuff to start a new python file" (interactive) (goto-char (point-min)) - (insert "#!/usr/bin/env python + (insert "#!/usr/bin/env python-for-pytorch import torch import math