projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be51d32
)
emacs - Info mode
author
Peng Li
<seudut@gmail.com>
Sun, 10 Jul 2016 14:54:42 +0000
(22:54 +0800)
committer
Peng Li
<seudut@gmail.com>
Sun, 10 Jul 2016 14:54:42 +0000
(22:54 +0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
7927143
..
11a19dd
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-1736,9
+1736,15
@@
Play Go in Emacs, gnugo xpm refert [[https://github.com/okanotor/dotemacs/blob/f
(info)))
(global-set-key (kbd "C-h i") 'sd/info-mode)
- ;; (add-hook 'Info-mode-hook (lambda ()
- ;; (define-key Info-mode-map "q" )))
+
+ ;; open Info buffer in other window instead of current window
+ (defadvice Info (before my-info activate)
+ (sd/info-mode))
+
+ (defadvice Info-exit (after my-info-exit activate)
+ (sd/delete-current-window))
#+END_SRC
+
* Programming
** Languages