diff options
| author | Jim Blandy | 1992-07-10 01:16:40 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-07-10 01:16:40 +0000 |
| commit | 79058860e129d648e6121ac1996dadf0128dc25a (patch) | |
| tree | ec1d7adecd0ff6e5323941e0e2081779e433791d | |
| parent | e3431643fb80ce9690aa6fa656996b753fd4c6ec (diff) | |
| download | emacs-79058860e129d648e6121ac1996dadf0128dc25a.tar.gz emacs-79058860e129d648e6121ac1996dadf0128dc25a.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/files.el | 15 | ||||
| -rw-r--r-- | lisp/help.el | 2 | ||||
| -rw-r--r-- | lisp/loadup.el | 7 | ||||
| -rw-r--r-- | lisp/startup.el | 7 |
4 files changed, 21 insertions, 10 deletions
diff --git a/lisp/files.el b/lisp/files.el index aa597d642eb..c86008bb93b 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -839,7 +839,14 @@ Value is a list whose car is the name for the backup file | |||
| 839 | (possibilities (file-name-all-completions | 839 | (possibilities (file-name-all-completions |
| 840 | base-versions | 840 | base-versions |
| 841 | (file-name-directory fn))) | 841 | (file-name-directory fn))) |
| 842 | (versions (sort (mapcar 'backup-extract-version possibilities) | 842 | (versions (sort (mapcar |
| 843 | (function | ||
| 844 | (lambda (fn) | ||
| 845 | (if (and (string-match "[0-9]+~$" fn bv-length) | ||
| 846 | (= (match-beginning 0) bv-length)) | ||
| 847 | (string-to-int (substring fn bv-length -1)) | ||
| 848 | 0))) | ||
| 849 | possibilities) | ||
| 843 | '<)) | 850 | '<)) |
| 844 | (high-water-mark (apply 'max 0 versions)) | 851 | (high-water-mark (apply 'max 0 versions)) |
| 845 | (deserve-versions-p | 852 | (deserve-versions-p |
| @@ -857,12 +864,6 @@ Value is a list whose car is the name for the backup file | |||
| 857 | (rplacd (nthcdr (1- number-to-delete) v) ()) | 864 | (rplacd (nthcdr (1- number-to-delete) v) ()) |
| 858 | v)))))))) | 865 | v)))))))) |
| 859 | 866 | ||
| 860 | (defun backup-extract-version (fn) | ||
| 861 | (if (and (string-match "[0-9]+~$" fn bv-length) | ||
| 862 | (= (match-beginning 0) bv-length)) | ||
| 863 | (string-to-int (substring fn bv-length -1)) | ||
| 864 | 0)) | ||
| 865 | |||
| 866 | (defun file-nlinks (filename) | 867 | (defun file-nlinks (filename) |
| 867 | "Return number of names file FILENAME has." | 868 | "Return number of names file FILENAME has." |
| 868 | (car (cdr (file-attributes filename)))) | 869 | (car (cdr (file-attributes filename)))) |
diff --git a/lisp/help.el b/lisp/help.el index 91a947c99e7..270934d989b 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -69,7 +69,7 @@ | |||
| 69 | (switch-to-buffer (create-file-buffer file)) | 69 | (switch-to-buffer (create-file-buffer file)) |
| 70 | (setq buffer-file-name file) | 70 | (setq buffer-file-name file) |
| 71 | (setq default-directory (expand-file-name "~/")) | 71 | (setq default-directory (expand-file-name "~/")) |
| 72 | (setq auto-save-file-name nil) | 72 | (setq buffer-auto-save-file-name nil) |
| 73 | (insert-file-contents (expand-file-name "TUTORIAL" data-directory)) | 73 | (insert-file-contents (expand-file-name "TUTORIAL" data-directory)) |
| 74 | (goto-char (point-min)) | 74 | (goto-char (point-min)) |
| 75 | (search-forward "\n<<") | 75 | (search-forward "\n<<") |
diff --git a/lisp/loadup.el b/lisp/loadup.el index 7f3370493c6..c7bab94f27c 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | (buffer-disable-undo "*scratch*") | 23 | (buffer-disable-undo "*scratch*") |
| 24 | 24 | ||
| 25 | (load "subr") | 25 | (load "subr") |
| 26 | (garbage-collect) | ||
| 26 | (load "map-ynp") | 27 | (load "map-ynp") |
| 27 | (garbage-collect) | 28 | (garbage-collect) |
| 28 | (load "loaddefs.el") ;Don't get confused if someone compiled loaddefs by mistake. | 29 | (load "loaddefs.el") ;Don't get confused if someone compiled loaddefs by mistake. |
| @@ -34,22 +35,28 @@ | |||
| 34 | (load "files") | 35 | (load "files") |
| 35 | (garbage-collect) | 36 | (garbage-collect) |
| 36 | (load "indent") | 37 | (load "indent") |
| 38 | (garbage-collect) | ||
| 37 | (load "window") | 39 | (load "window") |
| 38 | (garbage-collect) | 40 | (garbage-collect) |
| 39 | (if (fboundp 'delete-screen) | 41 | (if (fboundp 'delete-screen) |
| 40 | (load "screen")) | 42 | (load "screen")) |
| 43 | (garbage-collect) | ||
| 41 | (load "paths.el") ;Don't get confused if someone compiled paths by mistake. | 44 | (load "paths.el") ;Don't get confused if someone compiled paths by mistake. |
| 42 | (garbage-collect) | 45 | (garbage-collect) |
| 43 | (load "startup") | 46 | (load "startup") |
| 47 | (garbage-collect) | ||
| 44 | (load "lisp") | 48 | (load "lisp") |
| 45 | (garbage-collect) | 49 | (garbage-collect) |
| 46 | (load "page") | 50 | (load "page") |
| 51 | (garbage-collect) | ||
| 47 | (load "register") | 52 | (load "register") |
| 48 | (garbage-collect) | 53 | (garbage-collect) |
| 49 | (load "paragraphs") | 54 | (load "paragraphs") |
| 55 | (garbage-collect) | ||
| 50 | (load "lisp-mode") | 56 | (load "lisp-mode") |
| 51 | (garbage-collect) | 57 | (garbage-collect) |
| 52 | (load "text-mode") | 58 | (load "text-mode") |
| 59 | (garbage-collect) | ||
| 53 | (load "fill") | 60 | (load "fill") |
| 54 | (garbage-collect) | 61 | (garbage-collect) |
| 55 | (load "c-mode") | 62 | (load "c-mode") |
diff --git a/lisp/startup.el b/lisp/startup.el index 0bfcf5ecf18..8437a98e683 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -155,8 +155,11 @@ directory name of the directory where the `.emacs' file was looked for.") | |||
| 155 | (string= vc "simple")) | 155 | (string= vc "simple")) |
| 156 | (setq version-control 'never)))) | 156 | (setq version-control 'never)))) |
| 157 | 157 | ||
| 158 | ;; Choose a good default value for split-window-keep-point. | 158 | ;;! This has been commented out; I currently find the behavior when |
| 159 | (setq split-window-keep-point (> baud-rate 2400)) | 159 | ;;! split-window-keep-point is nil disturbing, but if I can get used |
| 160 | ;;! to it, then it would be better to eliminate the option. | ||
| 161 | ;;! ;; Choose a good default value for split-window-keep-point. | ||
| 162 | ;;! (setq split-window-keep-point (> baud-rate 2400)) | ||
| 160 | 163 | ||
| 161 | ;; Read window system's init file if using a window system. | 164 | ;; Read window system's init file if using a window system. |
| 162 | (if (and window-system (not noninteractive)) | 165 | (if (and window-system (not noninteractive)) |