diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2018-09-21 01:23:22 +0100 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2018-09-21 01:23:22 +0100 |
| commit | 98f5f20e201453040e82102603ed1f1ce6699a67 (patch) | |
| tree | 9e59a4e14150481a897d8c0482e3df45ba88b3e2 /helpful.el | |
| parent | 2565d0425297567ab176ab55670c7d0d108b1cb9 (diff) | |
Ensure we don't quote keywords or nil in variable assignment prompt
Diffstat (limited to 'helpful.el')
| -rw-r--r-- | helpful.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -544,7 +544,10 @@ overrides that to include previously opened buffers." (read-from-minibuffer "Eval: " (format - (if (or (symbolp sym-value) (consp sym-value)) + (if (or (consp sym-value) + (and (symbolp sym-value) + (not (null sym-value)) + (not (keywordp sym-value)))) "(setq %s '%S)" "(setq %s %S)") sym sym-value) |
