aboutsummaryrefslogtreecommitdiff
path: root/link.el
diff options
context:
space:
mode:
authorTorsten Hilbrich <torsten.hilbrich@gmx.net>2001-06-22 22:22:00 +0200
committerTorsten Hilbrich <torsten@hilbrich.net>2011-08-27 20:47:38 +0200
commitb05614db73ee581dfbb29793a7c2a11b89e1ed8b (patch)
tree4047ae47598c303ce3f6b0a03c5d014512fb4f78 /link.el
parentacc30f0c431e4ad89296f4bd9b81e97f970ac6c7 (diff)
Imported version 1.3.2 from tarball
replaced set-text-properties by remove-text-properties and add-text-properties because this function is not recommended within XEmacs (reported by Serge Boiko)
Diffstat (limited to 'link.el')
-rw-r--r--link.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/link.el b/link.el
index c0eb092..ec55766 100644
--- a/link.el
+++ b/link.el
@@ -42,7 +42,8 @@ link. Upon clicking the `function' is called with `data' as argument."
link-data ,data
help-echo ,help
link-function ,function)))
- (set-text-properties start end properties)))
+ (remove-text-properties start end properties)
+ (add-text-properties start end properties)))
(defun link-insert-link (text face function &optional data help)
"Insert the `text' at point to be formatted as link.