Function: cursor-sensor--intangible-p
cursor-sensor--intangible-p is a byte-compiled function defined in
cursor-sensor.el.gz.
Signature
(cursor-sensor--intangible-p POS)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cursor-sensor.el.gz
(defun cursor-sensor--intangible-p (pos)
(let ((p (get-pos-property pos 'cursor-intangible)))
(if p
(let (a b)
(if (and (setq a (get-char-property pos 'cursor-intangible))
(setq b (if (> pos (point-min))
(get-char-property (1- pos) 'cursor-intangible)))
(not (eq a b)))
;; If we're right between two different intangible thingies,
;; we can stop here. This is not quite consistent with the
;; interpretation of "if it's sticky, then this boundary is
;; itself intangible", but it's convenient (and it better matches
;; the behavior of `intangible', making it easier to port code).
nil p))
p)))