Mercurial > hg > xemacs-beta
diff lisp/hyperbole/kotl/kprop-xe.el @ 100:4be1180a9e89 r20-1b2
Import from CVS: tag r20-1b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:15:11 +0200 |
parents | 131b0175ea99 |
children | cf808b4c4290 |
line wrap: on
line diff
--- a/lisp/hyperbole/kotl/kprop-xe.el Mon Aug 13 09:13:58 2007 +0200 +++ b/lisp/hyperbole/kotl/kprop-xe.el Mon Aug 13 09:15:11 2007 +0200 @@ -29,11 +29,11 @@ ;;; Public functions ;;; ************************************************************************ -(defun kproperty:get (pos prop &optional object) - "Return the value of position POS's property PROP, in OBJECT. -OBJECT is optional and defaults to the current buffer. -If POSITION is at the end of OBJECT, the value is nil." - (extent-property (extent-at pos object) prop)) +;; (get-text-property (pos prop &optional object)) +;; Return the value of position POS's property PROP, in OBJECT. +;; OBJECT is optional and defaults to the current buffer. +;; If POSITION is at the end of OBJECT, the value is nil. +(fset 'kproperty:get 'get-text-property) (if (and hyperb:xemacs-p (or (>= emacs-minor-version 12) (> emacs-major-version 19)))