Skip to content

Commit

Permalink
persp-feature-flag-prevent-killing-last-buffer-in-perspective: set
Browse files Browse the repository at this point in the history
Set feature flag by default, due to #168 possibly beeing fixed.
  • Loading branch information
mehw committed Dec 2, 2021
1 parent b3509ef commit 691eceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added

- `persp-feature-flag-directly-kill-ido-ignore-buffers`: allow/disallow `persp-maybe-kill-buffer` to kill `ido-ignore-buffers` skipping checks (default: disable).
- `persp-feature-flag-prevent-killing-last-buffer-in-perspective`: enables/disables `persp-maybe-kill-buffer` (default: disable).
- `persp-feature-flag-prevent-killing-last-buffer-in-perspective`: enables/disables `persp-maybe-kill-buffer` (default: enable).
- `persp-switch-to-scratch-buffer`: interactive function to switch to the current perspective's scratch buffer, creating one if missing.
- `persp-get-scratch-buffer`: utility function to properly get/create a scratch buffer.
- `persp-forget-buffer`: disassociate buffer with perspective without the risk of killing it. This balances `persp-add-buffer`. Newly created buffers via `get-buffer-create` are rogue buffers not found in any perspective, this function allows to get back to that state.
Expand Down
2 changes: 1 addition & 1 deletion perspective.el
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ save state when exiting Emacs."
:group 'perspective-mode
:type 'file)

(defcustom persp-feature-flag-prevent-killing-last-buffer-in-perspective nil
(defcustom persp-feature-flag-prevent-killing-last-buffer-in-perspective t
"Experimental feature flag: prevent killing the last buffer in a perspective."
:group 'perspective-mode
:type 'boolean)
Expand Down

0 comments on commit 691eceb

Please sign in to comment.