project-persist-drawer

Homepage: https://github.com/rdallasgray/project-persist-drawer.git

Author: Robert Dallas Gray

Updated:

Summary

Use a project drawer with project-persist

Commentary

#project-persist-drawer
Use a project drawer with [project-persist](https://github.com/rdallasgray/project-persist).

## Usage
In your Emacs configuration:
```elisp
(require 'project-persist-drawer)
(require 'ppd-sr-speedbar) ;; or another adaptor
(project-persist-drawer-mode t)
```

## Adaptors
At present only one adaptor is available --
[ppd-sr-speedbar](https://github.com/rdallasgray/ppd-sr-speedbar),
which uses [sr-speedbar](https://github.com/emacsmirror/sr-speedbar)
to display the project drawer.

An adaptor must implement the following functions:
```elisp
(eval-after-load 'project-persist-drawer
  '(progn
    (defun project-persist-drawer--get-window ()
      "Return the window associated with the project drawer.")

    (defun project-persist-drawer--open (dir)
      "Open the project drawer in DIR.")

    (defun project-persist-drawer--close ()
      "Close the project drawer.")))
```

The function declarations should be wrapped in an `eval-after-load` block to ensure project-persist-drawer is loaded first.

Dependencies

Reverse dependencies