help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disable certain commands in non window mode


From: MiH
Subject: Disable certain commands in non window mode
Date: Thu, 25 Sep 2008 02:27:52 -0700 (PDT)
User-agent: G2/1.0

These are certain statements in my .emacs file.

(add-to-list 'load-path "~/.emacs.d")
(global-font-lock-mode  t)
(set-scroll-bar-mode 'right)
(require 'color-theme)
(color-theme-initialize)
(color-theme-whateveryouwant)
(mwheel-install)

;; rest of the .emacs file

The thing is I want to disable loading of the above statements while
in non-window (emacs -nw) mode, but want them while using X11. Since I
am new to elisp, I am not yet quite sure how to do this.

Thanks in advance to anyone providing a solution


reply via email to

[Prev in Thread] Current Thread [Next in Thread]