all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Disable certain commands in non window mode
@ 2008-09-25  9:27 MiH
  2008-09-25  9:31 ` Richard Riley
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: MiH @ 2008-09-25  9:27 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-25 16:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-25  9:27 Disable certain commands in non window mode MiH
2008-09-25  9:31 ` Richard Riley
2008-09-25  9:36 ` Joost Kremers
2008-09-25 15:54 ` Alex Bennee
2008-09-25 16:21   ` Nikolaj Schumacher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.