summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-text.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/init-text.el b/lisp/init-text.el
index fd75b1b..32105f0 100644
--- a/lisp/init-text.el
+++ b/lisp/init-text.el
@@ -13,7 +13,7 @@ non-nil, copy the region with `x-select-text'."
(interactive "P")
(let ((wrapped-buffer (get-buffer-create "*Wrapped export*"))
beg end)
- (if (region-active-p)
+ (if (use-region-p)
(progn (setq beg (region-beginning))
(setq end (region-end)))
(setq beg (point-min))