aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-06-24 16:51:01 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2024-06-24 16:51:01 +0200
commite4b7ab33585b0330a3296a2e27555f5aa5ead894 (patch)
treef4d0fe6a060e6c24440d7dc7a5f3d4b8e7a74983
parentcb809531135f22da4c141299ade490893c5b92d6 (diff)
compat-30: value< Remove obsolete comment
The value< function in Emacs enforces strict type checking. Mixing numbers and markers or strings and symbols is not supported.
-rw-r--r--compat-30.el4
1 files changed, 0 insertions, 4 deletions
diff --git a/compat-30.el b/compat-30.el
index 82cb242..7b2c32b 100644
--- a/compat-30.el
+++ b/compat-30.el
@@ -252,13 +252,9 @@ Markers are compared lexicographically by buffer and position.
Buffers and processes are compared by name.
Other types are considered unordered and the return value will be ‘nil’."
(cond
- ;; TODO Open question: Shall we support mixed arguments? See bug#69709.
- ;; (and (number-or-marker-p a) (number-or-marker-p b))
((or (and (numberp a) (numberp b))
(and (markerp a) (markerp b)))
(< a b))
- ;; TODO Open question: Shall we support mixed arguments? See bug#69709.
- ;; (and (or (stringp a) (symbolp a)) (or (stringp b) (symbolp b)))
((or (and (stringp a) (stringp b))
(and (symbolp a) (symbolp b)))
(string< a b))