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
4986d1f1
Commit
4986d1f1
authored
Sep 19, 2002
by
Richard M. Stallman
Browse files
(custom-make-dependencies): Fix previous change.
parent
9811b1cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/cus-dep.el
lisp/cus-dep.el
+11
-1
No files found.
lisp/ChangeLog
View file @
4986d1f1
2002-09-19 Richard M. Stallman <rms@gnu.org>
* cus-dep.el (custom-make-dependencies): Fix previous change.
2002-09-19 Juanma Barranquero <lektu@terra.es>
2002-09-19 Juanma Barranquero <lektu@terra.es>
* ielm.el (ielm-eval-input): Call `error-message-string' instead
* ielm.el (ielm-eval-input): Call `error-message-string' instead
...
...
lisp/cus-dep.el
View file @
4986d1f1
...
@@ -87,7 +87,17 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
...
@@ -87,7 +87,17 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
item where found)
item where found)
(when members
(when members
;; So x and no-x builds won't differ.
;; So x and no-x builds won't differ.
(setq members (sort (copy-sequence members) 'string<))
(setq members
(sort (copy-sequence members)
(lambda (x y)
(cond ((and (stringp x) (stringp y))
(string< x y))
;; Put all non-strings before strings.
((stringp y) t)
((stringp x) nil)
;; For two non-strings,
;; use the order they appear in MEMBERS.
(t (member y (member x members)))))))
(while members
(while members
(setq item (car (car members))
(setq item (car (car members))
members (cdr members)
members (cdr members)
...
...
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