-
- 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))" >> subdirs.el
+ 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~
+ if cmp "subdirs.el" "subdirs.el~" >/dev/null 2>&1; then
+ :; # echo "subdirs.el unchanged";
+ else
+ mv subdirs.el~ subdirs.el
+ fi