Skip to content

Commit f78f4cd

Browse files
committed
Fix a compiler warning
1 parent 9ff62a3 commit f78f4cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cider-interaction.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,6 +1473,8 @@ If prefix argument KILL is non-nil, kill the buffer instead of burying it."
14731473
(interactive)
14741474
(quit-restore-window (selected-window) (if kill 'kill 'append)))
14751475

1476+
(defvar-local cider-popup-output-marker nil)
1477+
14761478
(defun cider-make-popup-buffer (name &optional mode)
14771479
"Create a temporary buffer called NAME using major MODE (if specified)."
14781480
(with-current-buffer (get-buffer-create name)
@@ -1482,7 +1484,7 @@ If prefix argument KILL is non-nil, kill the buffer instead of burying it."
14821484
(when mode
14831485
(funcall mode))
14841486
(cider-popup-buffer-mode 1)
1485-
(setq-local cider-popup-output-marker (point-marker))
1487+
(setq cider-popup-output-marker (point-marker))
14861488
(setq buffer-read-only t)
14871489
(current-buffer)))
14881490

0 commit comments

Comments
 (0)