summaryrefslogtreecommitdiff
path: root/lisp/progmodes/idlwave.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-11 20:41:23 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-11 21:04:12 +0200
commita19e9ab834d51832c0936cbad56f6b3746a5c4f2 (patch)
treefd8b171f13bfe1d5d28596923862cd6dab54be2a /lisp/progmodes/idlwave.el
parent86a326d2d8f526f2113e5c46da9c3dadf5260a3c (diff)
downloademacs-a19e9ab834d51832c0936cbad56f6b3746a5c4f2.tar.gz
Minor idlwave clean up
* lisp/progmodes/idlw-shell.el (idlwave-shell-mouse-examine) (idlwave-shell-print): Adjust callers. * lisp/progmodes/idlwave.el (idlwave-region-active-p): Make into obsolete alias.
Diffstat (limited to 'lisp/progmodes/idlwave.el')
-rw-r--r--lisp/progmodes/idlwave.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index 3092d4c45b0..f4eb2be8cc4 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -2092,11 +2092,7 @@ Returns point if comment found and nil otherwise."
(backward-char 1)
(point)))))
-(defun idlwave-region-active-p ()
- "Should we operate on an active region?"
- (if (fboundp 'use-region-p)
- (use-region-p)
- (region-active-p)))
+(define-obsolete-function-alias 'idlwave-region-active-p 'use-region-p "28.1")
(defun idlwave-show-matching-quote ()
"Insert quote and show matching quote if this is end of a string."