Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 876 Bytes

Readme.org

File metadata and controls

31 lines (19 loc) · 876 Bytes

scratch-palette.el

ファイルにメモを残す

make scratch buffer for each files

Incompatible changes 1.0.4

This plugin no longer requires popwin to work, and the behavior is slightly changed.

If you want the previous behavior, specify popwin:popup-buffer explicitly.

(require 'popwin)
(setq scratch-palette-popup-function popwin:popup-buffer)

Usage

Require this script and set a directory to save scratches in.

(require 'scratch-palette)
(setq scratch-palette-directory "~/.emacs.d/palette/")

Then the command M-x scratch-palette-popup is available. This command displays the scratch buffer for the file. When called with region, the region is yanked to the scratch buffer.

You may close note with one of C-g, C-x C-x, or C-x C-k. Its contents are automatically saved.