vic/color-theme-buffer-local
Set emacs color themes by buffer.
{ "createdAt": "2012-04-16T05:37:22Z", "defaultBranch": "master", "description": "Set emacs color themes by buffer.", "fullName": "vic/color-theme-buffer-local", "homepage": "http://github.com/vic/color-theme-buffer-local", "language": "Emacs Lisp", "name": "color-theme-buffer-local", "pushedAt": "2017-02-20T22:48:08Z", "stargazersCount": 82, "topics": [ "color-theme", "emacs" ], "updatedAt": "2025-08-13T09:34:15Z", "url": "https://github.com/vic/color-theme-buffer-local"}This emacs lisp package lets you set a color-theme on a per-buffer basis.
Requirements
Section titled “Requirements”This package uses Emacs Face Remapping to installing faces locally on the buffer by means of buffer-face-set and face-remap-set-base functions.
Installation
Section titled “Installation”For color-theme.el themes
M-x package-install color-theme-buffer-localFor emacs24 themes
M-x package-install load-theme-buffer-localIf the above doesn’t work, you may need to configure your Emacs to use the Marmalade repository and try again.
Daily snapshots from the github repo are installable from the MELPA repository
Using themes made for color-theme.el
Section titled “Using themes made for color-theme.el”Interactively
M-x color-theme-buffer-localProgrammatically
(color-theme-buffer-local 'color-theme-robin-hood (current-buffer))Using themes made for emacs24 themes.
Section titled “Using themes made for emacs24 themes.”Interactively
M-x load-theme-buffer-localProgrammatically
(load-theme-buffer-local 'misterioso (current-buffer))