This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (23 sloc) 929 Bytes

Problems

Buffer was not restored

I doubt it was a simple file buffer (or report a bug).

Warning

You know major-mode you use better than me. So please if you ask to add support for any particular major-mode - write how you install, configure and run yours.

Such complex buffers are called "special buffers". A simple way to restore them is to use wg-support macro:

(wg-support 'inferior-emacs-lisp-mode 'ielm
  `((deserialize . ,(lambda (buffer vars)
                      (ielm) (get-buffer "*ielm*")))))

To understand how this works - see :doc:`special-buffers`

Restored, but not the way I want

Discuss it