diff --git a/spacemacs/packages.el b/spacemacs/packages.el index 12b38a49a..f57df8b98 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -235,6 +235,9 @@ "Info on the last searched highlighted symbol.") (make-variable-buffer-local 'spacemacs-last-ahs-highlight-p) + (defvar spacemacs--ahs-searching-forward nil) + (make-variable-buffer-local 'spacemacs--ahs-searching-forward) + (defun spacemacs/goto-last-searched-ahs-symbol () "Go to the last known occurrence of the last symbol searched with `auto-highlight-symbol'."