[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs custom-file for suse 11.0
From: |
Mike Treseler |
Subject: |
emacs custom-file for suse 11.0 |
Date: |
Thu, 22 Jan 2009 14:11:21 -0800 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
I found a work-around to load the emacs custom-file for suse 11.0
See the top fragment of .emacs11.el below:
-- Mike Treseler
;;_________________________________________________________________________
(message "______.emacs11:Start of File")
;; In suse 11.0 emacs load-file does not work like it used to:
;; (setq custom-file "~/.emacs11-custom.el")
;; (load-file custom-file)
;; ^------------------This works in suse10, locks emacs in suse 11
;; A workaround is to call a function from the command line, like this:
;; > emacs -l ~/.emacs11.el -f tres-settings
;; My function is below
;;_________________________________________________________________________
(setq custom-file "~/.emacs11-custom.el")
(defun tres-settings ()
"tres custom settings"
(interactive)
(load-file custom-file)
(vhdl-mode)
(cd "~/trunk/reuse")
(vhdl-speedbar)
(message "______ tres-settings : done")
)
;;_________________________________________________________________________
...
(message "______.emacs11 : done")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs custom-file for suse 11.0,
Mike Treseler <=