projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3a9109b
)
emacs - Info mode, using defadvice instead of add-hook
author
Peng Li
<seudut@gmail.com>
Mon, 11 Jul 2016 04:02:00 +0000
(12:02 +0800)
committer
Peng Li
<seudut@gmail.com>
Mon, 11 Jul 2016 04:02:00 +0000
(12:02 +0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
17e4e68
..
aebc41c
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-1742,12
+1742,13
@@
Play Go in Emacs, gnugo xpm refert [[https://github.com/okanotor/dotemacs/blob/f
(unless (> (length (window-list)) 1)
(split-window-right))
(other-window 1)
(unless (> (length (window-list)) 1)
(split-window-right))
(other-window 1)
- (info)))
+ ;; (info)
+ ))
- (global-set-key (kbd "C-h i") 'sd/info-mode)
+
;;
(global-set-key (kbd "C-h i") 'sd/info-mode)
;; open Info buffer in other window instead of current window
;; open Info buffer in other window instead of current window
- (defadvice
Info (before my-info
activate)
+ (defadvice
info (before my-info (&optional file buf)
activate)
(sd/info-mode))
(defadvice Info-exit (after my-info-exit activate)
(sd/info-mode))
(defadvice Info-exit (after my-info-exit activate)