diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-02-20 23:53:53 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-02-28 00:29:48 -0500 |
commit | 0904a666fbb935f47a86b4abd4798a0c0d66bccd (patch) | |
tree | aefc918baa20095e4e11bcefc1296e558c7060cf | |
parent | ce490b85535712fb0431b47fbd4b3846e331156b (diff) | |
download | emacs.d-0904a666fbb935f47a86b4abd4798a0c0d66bccd.tar.gz |
Replace region-active-p instance with use-region-p
-rw-r--r-- | lisp/init-text.el | 2 |
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)) |