projects
/
elisp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b8a81e4
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 27 Feb 2017 10:05:14 +0000
(11:05 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 27 Feb 2017 10:05:14 +0000
(11:05 +0100)
emacs.el
patch
|
blob
|
history
diff --git
a/emacs.el
b/emacs.el
index
f95d7b7
..
ffd9665
100644
(file)
--- a/
emacs.el
+++ b/
emacs.el
@@
-1196,7
+1196,7
@@
goback argument, go back where we were."
(load "vc-git")
(load "vc-git")
-(defun ff/git-push () (interactive)
+(defun ff/git-pu
ll-pu
sh () (interactive)
(shell-command "git pull && git push" nil)
)
(shell-command "git pull && git push" nil)
)
@@
-1204,7
+1204,7
@@
goback argument, go back where we were."
(shell-command "git pull" nil)
)
(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-pu
ll-pu
sh)
(define-key global-map [(control x) (v) (P)] 'ff/git-pull)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(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))
"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
import torch
import math