Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/core-compilation.el
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ States:
This is used to detect when Emacs has been upgraded, so caches and
byte-compiled files can be refreshed if needed."
(with-temp-file spacemacs--last-emacs-version-file
(insert (format "(setq spacemacs--last-emacs-version %S)"
(insert (format ";;; -*- lexical-binding: nil; -*-\n(setq spacemacs--last-emacs-version %S)"
(setq spacemacs--last-emacs-version emacs-version)))

;; Ensure the directory exists before creating the temp file.
Expand Down
2 changes: 1 addition & 1 deletion core/core-release-management.el
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ If old and new revisions are different `spacemacs-revision--changed-hook'
(setq new_rev (current-word))
(kill-buffer proc-buffer)))
(with-temp-file ,spacemacs-revision--file
(insert (format "(setq spacemacs-revision--last %S)" new_rev))
(insert (format ";;; -*- lexical-binding: nil; -*-\n(setq spacemacs-revision--last %S)" new_rev))
(make-directory (file-name-directory ,spacemacs-revision--file) t))
new_rev))
(lambda (new_rev)
Expand Down
Loading