|
(cond
((string-match "GNU" (emacs-version))
(cond
((string-match "linux" system-configuration)
(if (file-exists-p "~/.emacs-gnu-linux")
(progn
(message "loading GNU Emacs customizations for Linux")
(load-file "~/.emacs-gnu-linux"))))
((string-match "nt4" system-configuration)
(if (file-exists-p "~/.emacs-gnu-win")
(progn
(message "loading GNU Emacs customizations for Win NT")
(load-file "~/.emacs-gnu-win"))))
)
(if (file-exists-p "~/.emacs-gnu-all")
(progn
(message "loading GNU Emacs customizations common to all OS")
(load-file "~/.emacs-gnu-all")))
) ((string-match "XEmacs" (emacs-version))
(cond
((string-match "linux" system-configuration)
(if (file-exists-p "~/.emacs-xemacs-linux")
(progn
(message "loading XEmacs customizations for Linux")
(load-file "~/.emacs-xemacs-linux"))))
((string-match "win32" system-configuration)
(if (file-exists-p "~/.emacs-xemacs-win")
(progn
(message "loading XEmacs customizations for Win")
(load-file "~/.emacs-xemacs-win"))))
)
(if (file-exists-p "~/.emacs-xemacs-all")
(progn
(message "loading XEmacs customizations common to all OS")
(load-file "~/.emacs-xemacs-all")))
) )
(if (file-exists-p "~/.emacs-all")
(progn
(message "loading Emacs customizations common to all Emacs and all OS")
(load-file "~/.emacs-all")))
(message ".emacs loaded successfully")
|
|
|
All content copyright by the contributors. |
Website maintained with
Emacs ,
wsmake and
html-helper-mode |
Emacs community logo by Daniel Lundin |
Last updated on Sat Jan 22 14:57:05 2005
by Ingo Koch |
|
|
|
|