Skip to content

Commit

Permalink
tweak(core): remove scratch project from project-prefix-map
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 7, 2024
1 parent 97f679c commit 32fbfa8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/me-lib.el
Original file line number Diff line number Diff line change
Expand Up @@ -2114,14 +2114,6 @@ ARG and PROJECT-P are passed to `+scratch-open-buffer'."
(when (and (buffer-live-p buf) (string-match-p "^[^ ]" (buffer-name buf)))
(switch-to-buffer buf))))

(with-eval-after-load 'project
(setq project-switch-commands
;; Insert it before the last element ("Other")
(append (butlast project-switch-commands 1)
'((+scratch-open-project-scratch-buffer "Scratch buffer"))
(last project-switch-commands)))
(define-key project-prefix-map "X" #'+scratch-open-project-scratch-buffer))



;;; Font and script settings
Expand Down

0 comments on commit 32fbfa8

Please sign in to comment.