scratch-ext

https://github.com/kyanagi/scratch-ext-el.git

git clone 'git://github.com/kyanagi/scratch-ext-el.git'
11

scratch-ext.el

scratch-ext.el is extensions for *scratch* buffer.

This enables you to dump *scratch* buffer automatically when it is killed or Emacs quits.

In addition,

Usage

Add following line to your start up file:

(require 'scratch-ext)

Log file goes to ~/.scratch directory by default. You can change this by customizing `scratch-ext-log-directory'.

You can bind a key for scratch-ext-insert-newest-log' and scratch-ext-restore-last-scratch' if you prefer:

(global-set-key (kbd "C-c i") 'scratch-ext-insert-newest-log)
(global-set-key (kbd "C-c r") 'scratch-ext-restore-last-scratch)

LICENSE

This is licensed under the MIT License.

Author

Kouhei Yanagita <yanagi at shakenbu.org>