Skip to content

Commit a0aada8

Browse files
committed
Change the hook only for the current buffer
1 parent 534cdc4 commit a0aada8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

circe-display-images.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ See `enable-circe-display-images'."
6262

6363
(defun add-circe-display-images ()
6464
"Add `circe-display-images' to `lui-pre-output-hook'."
65-
(add-hook 'lui-pre-output-hook 'circe-display-images))
65+
(add-hook 'lui-pre-output-hook 'circe-display-images nil t))
6666

6767
(defun remove-circe-display-images ()
6868
"Remove `circe-display-images' from `lui-pre-output-hook'."
69-
(remove-hook 'lui-pre-output-hook 'circe-display-images))
69+
(remove-hook 'lui-pre-output-hook 'circe-display-images t))
7070

7171
(defgroup circe-display-images nil
7272
"Image display properties for Circe"

0 commit comments

Comments
 (0)