about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/wpc-misc.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-misc.el')
-rw-r--r--emacs/.emacs.d/wpc/wpc-misc.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el
index b5ecff44b939..dfa86c2ae139 100644
--- a/emacs/.emacs.d/wpc/wpc-misc.el
+++ b/emacs/.emacs.d/wpc/wpc-misc.el
@@ -14,6 +14,7 @@
 (require 'f)
 (require 'dash)
 (require 'constants)
+(require 'region)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Configuration
@@ -231,7 +232,7 @@
   (defun wpc-misc-deadgrep-region ()
     "Run a ripgrep search on the active region."
     (interactive)
-    (deadgrep (region/to-string)))
+    (deadgrep (region-to-string)))
   (defun wpc-misc-deadgrep-dwim ()
     "If a region is active, use that as the search, otherwise don't."
     (interactive)