From 8d6069a493028afaaf923e7cbea96e747ba5a6ef Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 17 Nov 2007 12:02:32 +0000 Subject: [PATCH] Atomically update subdirs.el. --- ChangeLog | 4 ++++ update-subdirs | 15 +++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index a65c581ac4f..c2cf2d8ef13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-11-17 Andreas Schwab + + * update-subdirs: Atomically update subdirs.el. + 2007-11-17 Glenn Morris * 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 if [ "x$subdirs" = x ]; then rm -f subdirs.el else - - echo ";; -*- no-byte-compile: t -*-" > subdirs.el - - echo ";; In load-path, after this directory should come -;; certain of its subdirectories. Here we specify them." >> subdirs.el - - echo "(normal-top-level-add-to-load-path '($subdirs)) + rm -f subdirs.el~ + echo ";; -*- no-byte-compile: t -*- +;; In load-path, after this directory should come +;; certain of its subdirectories. Here we specify them. +(normal-top-level-add-to-load-path '($subdirs)) ;; Local" "Variables: ;; version-control: never ;; no-byte-compile: t -;; End:" >> subdirs.el +;; End:" > subdirs.el~ + mv subdirs.el~ subdirs.el fi # arch-tag: 56ebcf1b-5c30-4934-b0b4-72d374064704 -- 2.39.2