unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs custom-file for suse 11.0
@ 2009-01-22 22:11 Mike Treseler
  0 siblings, 0 replies; only message in thread
From: Mike Treseler @ 2009-01-22 22:11 UTC (permalink / raw)
  To: help-gnu-emacs

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")


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-22 22:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-22 22:11 emacs custom-file for suse 11.0 Mike Treseler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).