summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-20 23:53:53 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-28 00:29:48 -0500
commit0904a666fbb935f47a86b4abd4798a0c0d66bccd (patch)
treeaefc918baa20095e4e11bcefc1296e558c7060cf /lisp
parentce490b85535712fb0431b47fbd4b3846e331156b (diff)
downloademacs.d-0904a666fbb935f47a86b4abd4798a0c0d66bccd.tar.gz
Replace region-active-p instance with use-region-p
Diffstat (limited to 'lisp')
-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))