comparison lisp/loadup.el @ 604:63a8e7b3c547

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Wed, 01 Apr 1992 11:14:15 +0000
parents 2a2230dd1b1c
children 70b112526394
comparison
equal deleted inserted replaced
603:470f556a9453 604:63a8e7b3c547
1 ;;Load up standardly loaded Lisp files for Emacs. 1 ;;Load up standardly loaded Lisp files for Emacs.
2 ;; This is loaded into a bare Emacs to make a dumpable one. 2 ;; This is loaded into a bare Emacs to make a dumpable one.
3 ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 3 ;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc.
4 4
5 ;; This file is part of GNU Emacs. 5 ;; This file is part of GNU Emacs.
6 6
7 ;; GNU Emacs is free software; you can redistribute it and/or modify 7 ;; GNU Emacs is free software; you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public License as published by 8 ;; it under the terms of the GNU General Public License as published by
92 (let ((name emacs-version)) 92 (let ((name emacs-version))
93 (while (string-match "[^-+_.a-zA-Z0-9]+" name) 93 (while (string-match "[^-+_.a-zA-Z0-9]+" name)
94 (setq name (concat (downcase (substring name 0 (match-beginning 0))) 94 (setq name (concat (downcase (substring name 0 (match-beginning 0)))
95 "-" 95 "-"
96 (substring name (match-end 0))))) 96 (substring name (match-end 0)))))
97 (copy-file (expand-file-name "../share-lib/DOC") 97 (copy-file (expand-file-name "../etc/DOC")
98 (concat (expand-file-name "../share-lib/DOC-") name) 98 (concat (expand-file-name "../etc/DOC-") name)
99 t) 99 t)
100 (Snarf-documentation (concat "DOC-" name))) 100 (Snarf-documentation (concat "DOC-" name)))
101 (Snarf-documentation "DOC")) 101 (Snarf-documentation "DOC"))
102 (message "Finding pointers to doc strings...done") 102 (message "Finding pointers to doc strings...done")
103 103