Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a8b14b77
Commit
a8b14b77
authored
Oct 20, 2023
by
Eli Zaretskii
Browse files
; * lisp/emacs-lisp/comp-cstr.el: Fix punctuation.
parent
8fa0f13e
Pipeline
#26829
failed with stages
in 12 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/emacs-lisp/comp-cstr.el
lisp/emacs-lisp/comp-cstr.el
+3
-3
No files found.
lisp/emacs-lisp/comp-cstr.el
View file @
a8b14b77
...
...
@@ -263,7 +263,7 @@ Return them as multiple value."
;;; Type handling.
(
defun
comp--sym-lessp
(
x
y
)
"Like `string-lessp' but for s
tring
s."
"Like `string-lessp' but for s
ymbol name
s."
(
string-lessp
(
symbol-name
x
)
(
symbol-name
y
)))
...
...
@@ -277,7 +277,7 @@ Return them as multiple value."
do
(
cl-return-from
outer
y
))))
(
defun
comp--normalize-typeset0
(
typeset
)
;; For every type search its supertype. If all the subtypes of that
;; For every type search its supertype.
If all the subtypes of that
;; supertype are presents remove all of them, add the identified
;; supertype and restart.
(
when
typeset
...
...
@@ -302,7 +302,7 @@ Return them as multiple value."
(
defun
comp--direct-subtypes
(
type
)
"Return all the direct subtypes of TYPE."
;; TODO memoize.
;; TODO
:
memoize.
(
cl-sort
(
cl-loop
for
j
in
(
comp-cstr-ctxt-typeof-types
comp-ctxt
)
for
res
=
(
cl-loop
for
i
in
j
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment