From 7560d0b8ff564b5305153f9d7a8b8d5052cfc485 Mon Sep 17 00:00:00 2001 From: justbur Date: Mon, 7 Sep 2015 14:13:04 -0400 Subject: [PATCH] spacemacs-layer: Fix ahs search --- spacemacs/packages.el | 3 +++ 1 file changed, 3 insertions(+) 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'."