]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove code and comments related to lib-src/fns-*.el; long removed.
authorGlenn Morris <rgm@gnu.org>
Wed, 15 Dec 2010 08:16:53 +0000 (00:16 -0800)
committerGlenn Morris <rgm@gnu.org>
Wed, 15 Dec 2010 08:16:53 +0000 (00:16 -0800)
* Makefile.in (install-arch-dep, uninstall): Remove code relating to the
long absent lib-src/fns-*.el.

* lisp/loadup.el (symbol-file-load-history-loaded): Remove; unused.
Remove related, old, commented-out code.

* lisp/subr.el (symbol-file-load-history-loaded)
  (load-symbol-file-load-history): Remove old, commented-out code.

ChangeLog
Makefile.in
lisp/ChangeLog
lisp/loadup.el
lisp/subr.el

index 0bf18e238674f0cfa88a867f1f4d4a39e45c90d8..d1982e71d5606e7bbdc31a1ffe2c1b96f8d40f4b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-15  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (install-arch-dep, uninstall): Remove code relating to the
+       long absent lib-src/fns-*.el.
+
 2010-12-11  Glenn Morris  <rgm@gnu.org>
 
        * make-dist: Exclude etc/*.pyc.
index 5466193a7f187acffe09dd03e861de271ae6b89f..09876d8cffa89ef6c9fd8b38a82a57543d310432 100644 (file)
@@ -424,12 +424,6 @@ install-arch-dep: mkdir
        -chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL)
        rm -f $(DESTDIR)${bindir}/$(EMACS)
        -ln $(DESTDIR)${bindir}/$(EMACSFULL) $(DESTDIR)${bindir}/$(EMACS)
-       -unset CDPATH; \
-       for f in `cd lib-src && echo fns-*.el`; do \
-         if test -r lib-src/$$f ; then \
-           ${INSTALL_DATA} lib-src/$$f $(DESTDIR)${archlibdir}/$$f; \
-         else true; fi ; \
-       done
        if test "${ns_appresdir}" != ""; then \
          ( cd ${ns_appresdir} ; \
            if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\
@@ -682,9 +676,6 @@ uninstall:
            esac ;                                      \
          fi ;                                          \
        done
-       if [ -d $(DESTDIR)${archlibdir} ]; then \
-         (cd $(DESTDIR)${archlibdir} && rm -f fns-*) \
-       fi
        -rm -rf $(DESTDIR)${libexecdir}/emacs/${version}
        (cd $(DESTDIR)${infodir} && \
          for elt in $(INFO_FILES); do \
index 13a5a358546087184a3a551bfc150ccd1208e333..3b16df17a13600dc9c175b6bac4a8db7145c62bf 100644 (file)
@@ -1,3 +1,7 @@
+2010-12-15  Glenn Morris  <rgm@gnu.org>
+
+       * loadup.el (symbol-file-load-history-loaded): Remove; unused.
+
 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
             Scott Evans <gse@antisleep.com>
 
index d13e38c0b36e20ff22ee03d799b146d74fabfe60..fb3aaff37c1595510b22e232597bd3377d99d698 100644 (file)
       (error nil)))
 (message "Finding pointers to doc strings...done")
 
-;;;Note: You can cause additional libraries to be preloaded
-;;;by writing a site-init.el that loads them.
-;;;See also "site-load" above.
+;; Note: You can cause additional libraries to be preloaded
+;; by writing a site-init.el that loads them.
+;; See also "site-load" above.
 (load "site-init" t)
 (setq current-load-list nil)
 
-;; Write the value of load-history into fns-VERSION.el,
-;; then clear out load-history.
-;; (if (or (equal (nth 3 command-line-args) "dump")
-;;     (equal (nth 4 command-line-args) "dump"))
-;;     (let ((buffer-undo-list t))
-;;       (princ "(setq load-history\n" (current-buffer))
-;;       (princ "      (nconc load-history\n" (current-buffer))
-;;       (princ "             '(" (current-buffer))
-;;       (let ((tem load-history))
-;;     (while tem
-;;       (prin1 (car tem) (current-buffer))
-;;       (terpri (current-buffer))
-;;       (if (cdr tem)
-;;           (princ "               " (current-buffer)))
-;;       (setq tem (cdr tem))))
-;;       (princ ")))\n" (current-buffer))
-;;       (write-region (point-min) (point-max)
-;;                 (expand-file-name
-;;                  (cond
-;;                   ((eq system-type 'ms-dos)
-;;                    "../lib-src/fns.el")
-;;                   ((eq system-type 'windows-nt)
-;;                    (format "../../../lib-src/fns-%s.el" emacs-version))
-;;                   (t
-;;                    (format "../lib-src/fns-%s.el" emacs-version)))
-;;                  invocation-directory))
-;;       (erase-buffer)
-;;       (setq load-history nil))
-;;   (setq symbol-file-load-history-loaded t))
-;; We don't use this fns-*.el file.  Instead we keep the data in PURE space.
+;; We keep the load-history data in PURE space.
 ;; Make sure that the spine of the list is not in pure space because it can
 ;; be destructively mutated in lread.c:build_load_history.
 (setq load-history (mapcar 'purecopy load-history))
-(setq symbol-file-load-history-loaded t)
 
 (set-buffer-modified-p nil)
 
index 8a7ef7069c2043acfd40bbd26d57bc6024c5d736..8a8e4410ce6951bb37ca39688823ad1d7040d30e 100644 (file)
@@ -1482,26 +1482,6 @@ If TOGGLE has a `:menu-tag', that is used for the menu item's label."
 \f
 ;;; Load history
 
-;; (defvar symbol-file-load-history-loaded nil
-;;   "Non-nil means we have loaded the file `fns-VERSION.el' in `exec-directory'.
-;; That file records the part of `load-history' for preloaded files,
-;; which is cleared out before dumping to make Emacs smaller.")
-
-;; (defun load-symbol-file-load-history ()
-;;   "Load the file `fns-VERSION.el' in `exec-directory' if not already done.
-;; That file records the part of `load-history' for preloaded files,
-;; which is cleared out before dumping to make Emacs smaller."
-;;   (unless symbol-file-load-history-loaded
-;;     (load (expand-file-name
-;;        ;; fns-XX.YY.ZZ.el does not work on DOS filesystem.
-;;        (if (eq system-type 'ms-dos)
-;;            "fns.el"
-;;          (format "fns-%s.el" emacs-version))
-;;        exec-directory)
-;;       ;; The file name fns-%s.el already has a .el extension.
-;;       nil nil t)
-;;     (setq symbol-file-load-history-loaded t)))
-
 (defun symbol-file (symbol &optional type)
   "Return the name of the file that defined SYMBOL.
 The value is normally an absolute file name.  It can also be nil,