diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2018-08-02 21:44:01 -0700 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2018-08-02 21:44:01 -0700 |
| commit | fef7699b1efdab13800e90b4c4124400daee01a0 (patch) | |
| tree | 637ccc61ec198466fba7a8b8337746089701e2d9 /helpful.el | |
| parent | 5e59ccefb75d440c540036ce72c1da5f93a9d5f6 (diff) | |
Use normal let where we don't have destructuring
Diffstat (limited to 'helpful.el')
| -rw-r--r-- | helpful.el | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1130,18 +1130,18 @@ the buffer when done. POS is the position of the start of the definition within the buffer." - (-let ((initial-buffers (buffer-list)) - (primitive-p (helpful--primitive-p sym callable-p)) - (path nil) - (buf nil) - (pos nil) - (opened nil) - ;; Skip running find-file-hook since it may prompt the user. - (find-file-hook nil) - ;; If we end up opening a buffer, don't bother with file - ;; variables. It prompts the user, and we discard the buffer - ;; afterwards anyway. - (enable-local-variables nil)) + (let ((initial-buffers (buffer-list)) + (primitive-p (helpful--primitive-p sym callable-p)) + (path nil) + (buf nil) + (pos nil) + (opened nil) + ;; Skip running find-file-hook since it may prompt the user. + (find-file-hook nil) + ;; If we end up opening a buffer, don't bother with file + ;; variables. It prompts the user, and we discard the buffer + ;; afterwards anyway. + (enable-local-variables nil)) ;; We shouldn't be called on primitive functions if we don't have ;; a directory of Emacs C sourcecode. (cl-assert |
