Emacs command for interactively editing a variable
- Emacs Lisp 100%
| README.md | Add installation example | |
| vared.el | Insert actual docstring for var instead of always using load-path | |
vared.el
The package defines a M-x vared command for interactively editing an Emacs variable in its s-expression form.
You'd use it when:
- You want to edit a variable that is not intended to be interactively edited so it's a defvar rather than defcustom.
- You just want to quickly edit the sexp representation of a variable and don't want to deal with the M-x customize UI
If vared-pretty is t (the default) then you edit a pretty-printed (pp) version of the sexp.
The edits are not persisted, they are only for the current session.
Example use:
M-x vared RET load-path RET
C-c C-c to commit your changes, C-c C-k to cancel.
Installation using use-package:
(use-package vared
:vc (:url "https://codeberg.org/imarko/vared.el")
:bind
;; Suggested binding, I use C-c v for set-variable
("C-c V" . vared))