mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-25 14:13:37 -05:00
Optimization: buffer-local-value instead of with-current-buffer
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
(:custom (lambda (b &rest _)
|
||||
(when (and (featurep 'repl-toggle)
|
||||
(string-prefix-p "*" (buffer-name (get-buffer b))))
|
||||
(with-current-buffer b repl-toggle-mode))))
|
||||
(buffer-local-value 'repl-toggle-mode b))))
|
||||
:popup t :align below :size 16 :select t)
|
||||
|
||||
(map! :map repl-toggle-mode-map
|
||||
|
Reference in New Issue
Block a user