tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `tramp-theme-mode-line-buffer-identification' interference


From: Michael Albinus
Subject: Re: `tramp-theme-mode-line-buffer-identification' interference
Date: Sun, 10 Jul 2016 17:40:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Live System User <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]