diff options
| author | Andreas Schwab | 2007-11-17 12:02:32 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2007-11-17 12:02:32 +0000 |
| commit | 8d6069a493028afaaf923e7cbea96e747ba5a6ef (patch) | |
| tree | ec7ca4a9abdc07433c0916515f5454beddd5fec2 | |
| parent | 4e60b1b66c943ba03bb36897c4df5012c068ffd4 (diff) | |
| download | emacs-8d6069a493028afaaf923e7cbea96e747ba5a6ef.tar.gz emacs-8d6069a493028afaaf923e7cbea96e747ba5a6ef.zip | |
Atomically update subdirs.el.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rwxr-xr-x | update-subdirs | 15 |
2 files changed, 11 insertions, 8 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-11-17 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * update-subdirs: Atomically update subdirs.el. | ||
| 4 | |||
| 1 | 2007-11-17 Glenn Morris <rgm@gnu.org> | 5 | 2007-11-17 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in (check-declare): New target. | 7 | * Makefile.in (check-declare): New target. |
diff --git a/update-subdirs b/update-subdirs index c1d44cab9b9..1d9cc68812c 100755 --- a/update-subdirs +++ b/update-subdirs | |||
| @@ -37,17 +37,16 @@ done | |||
| 37 | if [ "x$subdirs" = x ]; then | 37 | if [ "x$subdirs" = x ]; then |
| 38 | rm -f subdirs.el | 38 | rm -f subdirs.el |
| 39 | else | 39 | else |
| 40 | 40 | rm -f subdirs.el~ | |
| 41 | echo ";; -*- no-byte-compile: t -*-" > subdirs.el | 41 | echo ";; -*- no-byte-compile: t -*- |
| 42 | 42 | ;; In load-path, after this directory should come | |
| 43 | echo ";; In load-path, after this directory should come | 43 | ;; certain of its subdirectories. Here we specify them. |
| 44 | ;; certain of its subdirectories. Here we specify them." >> subdirs.el | 44 | (normal-top-level-add-to-load-path '($subdirs)) |
| 45 | |||
| 46 | echo "(normal-top-level-add-to-load-path '($subdirs)) | ||
| 47 | ;; Local" "Variables: | 45 | ;; Local" "Variables: |
| 48 | ;; version-control: never | 46 | ;; version-control: never |
| 49 | ;; no-byte-compile: t | 47 | ;; no-byte-compile: t |
| 50 | ;; End:" >> subdirs.el | 48 | ;; End:" > subdirs.el~ |
| 49 | mv subdirs.el~ subdirs.el | ||
| 51 | fi | 50 | fi |
| 52 | 51 | ||
| 53 | # arch-tag: 56ebcf1b-5c30-4934-b0b4-72d374064704 | 52 | # arch-tag: 56ebcf1b-5c30-4934-b0b4-72d374064704 |