Skip to content

Commit

Permalink
Do not offer to save (temporary) buffers without associated files
Browse files Browse the repository at this point in the history
This restores the default behaviour of Emacs. If a user wants to be more
careful about saving temporary buffers, they can set `buffer-offer-save` via
the appropriate hooks.

This commit effectively reverts b8cca12

Closes #668
  • Loading branch information
haselwarter committed Sep 6, 2022
1 parent c304d73 commit f01e84d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions generic/proof-script.el
Original file line number Diff line number Diff line change
Expand Up @@ -2814,10 +2814,6 @@ finish setup which depends on specific proof assistant configuration."
(proof-setup-imenu)
(proof-imenu-enable)

;; Save file-less script mode buffers in case of accidental exit
(or (buffer-file-name)
(setq buffer-offer-save t))

;; Turn on autosend if enabled
(proof-autosend-enable 'nomsg)

Expand Down

0 comments on commit f01e84d

Please sign in to comment.