1
0
Fork
You've already forked vared.el
0
Emacs command for interactively editing a variable
  • Emacs Lisp 100%
Find a file
2026年06月15日 00:07:30 -07:00
README.md Add installation example 2026年06月07日 23:30:05 -07:00
vared.el Insert actual docstring for var instead of always using load-path 2026年06月15日 00:07:30 -07:00

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:

  1. You want to edit a variable that is not intended to be interactively edited so it's a defvar rather than defcustom.
  2. 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))