Live System User <[email protected]> writes:

> Hi Michael,

Hi,

> 0. Create a .emacs file with only the following:
>
> (add-to-list 'load-path "~/.emacs.d/themes")
>
> (setq custom-theme-directory "~/.emacs.d/themes/")
>
> (if (boundp 'custom-theme-load-path)
>     (add-to-list 'custom-theme-load-path (file-name-as-directory
>                                     (expand-file-name "~/.emacs.d/themes"))))
>
> (setq custom-file  ; Use a separate customize file so as to not clutter .emacs
>       (concat "~/.emacs.d/custom-theme-test"
>               (int-to-string emacs-major-version)))
>
> (load-theme 'tramp t nil) ; tramp-theme has an eval, so load before 
> custom-file.
>
> (load custom-file 'noerror)

I believe this is too complicate. All you need in .emacs is

(add-to-list 'load-path  "~/src/elpa/packages/tramp-theme")
(load "tramp-theme-autoloads" 'noerror)
(load-theme 'tramp 'no-confirm)

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to