summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2017-03-07 13:22:18 +0000
committerPhillip Lord <phillip.lord@russet.org.uk>2017-03-07 13:48:20 +0000
commit8f58747a878941661e2f0f667e18620cf9b632ff (patch)
tree713bec88630b060340bae9859694505fb60745ae /admin
parent11436e2890fda7367936b63b8fe2daca6957d3ef (diff)
downloademacs-8f58747a878941661e2f0f667e18620cf9b632ff.tar.gz
Revert "Speed generation of ldefs-boot-auto"
This reverts commit 7b5e1c8238ef961fd3305b1dce053b9bced684ba. This commit has been reverted because the new mechanism was too sensitive to changes in the lisp source, generation of new ldefs-boot files was platform specific and resulted in warnings about undefined variables. See also 11436e2890d.
Diffstat (limited to 'admin')
-rw-r--r--admin/ldefs-clean.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/ldefs-clean.el b/admin/ldefs-clean.el
index 91512b4bbb7..c227a163604 100644
--- a/admin/ldefs-clean.el
+++ b/admin/ldefs-clean.el
@@ -40,6 +40,9 @@
;; We need to record autoloads till the point that emacs (as opposed
;; to bootstrap-emacs) is dumped. After this point, we are not
;; bootstrapping any more.
+ (search-backward "-l loadup dump")
+ (beginning-of-line)
+ (delete-region (point) (point-max))
(keep-lines "(autoload" (point-min) (point-max))
(sort-lines nil (point-min) (point-max))
(ldefs-clean-uniquify-buffer-lines)
@@ -57,6 +60,6 @@
(defun ldefs-clean ()
- (find-file "../lisp/ldefs-boot-auto.temp")
+ (find-file "lisp/ldefs-boot-auto.temp")
(ldefs-clean-up)
(write-file "ldefs-boot-auto.el"))