diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-06-06 17:25:29 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-06-06 17:25:29 +0000 |
commit | 9b0462a9bb6a34df97515f7a64d4639a7960de0f (patch) | |
tree | e038528f4cc0299728cea8350cb729fb32e43e5d /lib | |
parent | b9c06ced8e899854d06314b52d0182e123775afc (diff) |
Don't mess with overlay priorities.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/span.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/span.el b/lib/span.el index 371292ec..2d18f3c8 100644 --- a/lib/span.el +++ b/lib/span.el @@ -147,7 +147,11 @@ A span is before PT if it begins before the character before PT." (defsubst span-raise (span) "Set priority of SPAN to make it appear above other spans." - (span-set-property span 'priority 100)) + ;; FIXME: Emacs already uses a "shorter goes above" which takes care of + ;; preventing a span from seeing another. So don't play with + ;; priorities, please! + ;; (span-set-property span 'priority 100) + ) (defsubst span-string (span) (with-current-buffer (overlay-buffer span) |