Skip to content
vic

vic/color-theme-buffer-local

Set emacs color themes by buffer.

vic/color-theme-buffer-local.json
{
"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,
"updatedAt": "2025-08-13T09:34:15Z",
"url": "https://github.com/vic/color-theme-buffer-local"
}

help maintain this lib

This emacs lisp package lets you set a color-theme on a per-buffer basis.

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.

For color-theme.el themes

M-x package-install color-theme-buffer-local

For emacs24 themes

M-x package-install load-theme-buffer-local

If 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

Interactively

M-x color-theme-buffer-local

Programmatically

(color-theme-buffer-local 'color-theme-robin-hood (current-buffer))

Interactively

M-x load-theme-buffer-local

Programmatically

(load-theme-buffer-local 'misterioso (current-buffer))

http://github.com/vic/color-theme-buffer-local/issues