[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r116993: Mention that overlay priority doesn't ha
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-24 r116993: Mention that overlay priority doesn't have to be nil or an integer. |
Date: |
Mon, 21 Apr 2014 13:47:02 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116993
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17234
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Mon 2014-04-21 16:46:25 +0300
message:
Mention that overlay priority doesn't have to be nil or an integer.
modified:
etc/NEWS news-20100311060928-aoit31wvzf25yr1z-1
=== modified file 'etc/NEWS'
--- a/etc/NEWS 2014-04-20 14:50:13 +0000
+++ b/etc/NEWS 2014-04-21 13:46:25 +0000
@@ -1218,6 +1218,15 @@
** The cars of the elements in `interpreter-mode-alist' are now
treated as regexps rather than literal strings.
+---
+** Overlay priority does not have to be nil or a non-negative integer.
+Overlay priority can be other kinds of Lisp objects. We didn't yet
+decide whether other types of values are stable enough, and therefore
+don't feel it's right to document them. For now, don't assume in your
+code that the values of overlay priority can only be either nil or an
+integer, always test them with an appropriate predicate to be one or
+the other.
+
* Lisp Changes in Emacs 24.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r116993: Mention that overlay priority doesn't have to be nil or an integer.,
Eli Zaretskii <=