Skip to content

super-save 0.4

Latest
Compare
Choose a tag to compare
@bbatsov bbatsov released this 09 Dec 10:24
· 8 commits to master since this release

New features

  • Make super-save checks customizable via super-save-predicates.
  • Introduce defcustom super-save-max-buffer-size as a way to avoid auto-saving
    big files.
  • Introduce defcustom super-save-exclude (a list of regular expression) as a
    way to filter out certain buffer names from being auto-saved.
  • #43: Introduce super-save-silent
    to avoid printing messages in the *Messages* buffer or in the echo area.
  • #43: Introduce
    super-save-delete-trailing-whitespace which defaults to nil and accepts
    t to run delete-trailing-whitespace before saving the buffer. This
    variable accepts only the symbol except-current-line to delete trailing
    white spaces from all lines except the current one. This can be useful when we
    are in the middle of writing some thing and we add a space at the end, in this
    case, we more likely need the space to stay there instead of deleting it.
  • #44 & #20: Introduce
    super-save-all-buffers to save all modified buffers instead of only the
    current one.

Changes

  • Require Emacs 25.