diff --git a/inspector.el b/inspector.el index 6e36c4a..fcf194d 100644 --- a/inspector.el +++ b/inspector.el @@ -780,7 +780,7 @@ is expected to be used.") buf)))) (with-current-buffer buffer (add-hook 'xref-backend-functions 'elisp--xref-backend 0 'local) - (setq revert-buffer-function #'inspector--revert-buffer) + (setq-local revert-buffer-function #'inspector--revert-buffer) (setq buffer-read-only nil) (erase-buffer)) buffer))