diff options
author | Case Duckworth | 2022-01-06 18:01:40 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-06 18:01:56 -0600 |
commit | 6c2b242a8a76569e0607ad300d946ca6a8afce0c (patch) | |
tree | bed6f7d72212709ba6f7e8f75b649bb41f24b918 /lisp | |
parent | Add +org-horizontal-rule (diff) | |
download | emacs-6c2b242a8a76569e0607ad300d946ca6a8afce0c.tar.gz emacs-6c2b242a8a76569e0607ad300d946ca6a8afce0c.zip |
Fixup +defvar to be in line with defvar
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/acdw.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/acdw.el b/lisp/acdw.el index fcab61b..71905d2 100644 --- a/lisp/acdw.el +++ b/lisp/acdw.el | |||
@@ -121,8 +121,9 @@ I keep forgetting how they differ." | |||
121 | (interactive "p\nP") | 121 | (interactive "p\nP") |
122 | (message "p: %S P: %S" p-arg P-arg)) | 122 | (message "p: %S P: %S" p-arg P-arg)) |
123 | 123 | ||
124 | (defmacro +defvar (var value _) | 124 | (defmacro +defvar (var value &optional _) |
125 | "Quick way to `setq' a variable from a `defvar' form." | 125 | "Quick way to `setq' a variable from a `defvar' form." |
126 | (declare (doc-string 3)) | ||
126 | `(setq ,var ,value)) | 127 | `(setq ,var ,value)) |
127 | 128 | ||
128 | (provide 'acdw) | 129 | (provide 'acdw) |