Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 929 Bytes

problems.rst

File metadata and controls

35 lines (23 loc) · 929 Bytes

Problems

You do have problems, right?

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 special-buffers

Restored, but not the way I want

Discuss it