projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
42048a8
)
emacs - fix issue on termianl, check the graphic mode.
author
Peng Li
<seudut@gmail.com>
Sun, 19 Feb 2017 09:56:46 +0000
(17:56 +0800)
committer
Peng Li
<seudut@gmail.com>
Sun, 19 Feb 2017 09:56:46 +0000
(17:56 +0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
25136a4
..
7460b77
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-31,12
+31,15
@@
Set system PATH and emacs exec path
** General Setting
*** scroll bar, tool-bar and menu-bar
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
** General Setting
*** scroll bar, tool-bar and menu-bar
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
- (scroll-bar-mode 0)
- (tool-bar-mode 0)
+ (if (display-graphic-p)
+ (progn
+ (scroll-bar-mode 0)
+ (tool-bar-mode 0)
+ (menu-bar-mode 1)))
- (if window-system
- (menu-bar-mode 1)
- (menu-bar-mode 0))
+
;;
(if window-system
+
;;
(menu-bar-mode 1)
+
;;
(menu-bar-mode 0))
(setq debug-on-error t)
(setq inhibit-startup-message t)
(setq debug-on-error t)
(setq inhibit-startup-message t)