Archived
1
0
Fork 0

add way to open scratch buffer frame with a prompt on major mode to use

This commit is contained in:
KemoNine 2023-04-12 18:18:53 -04:00
parent 2963e3c323
commit bb7162a9e9

View file

@ -141,3 +141,14 @@
(scratch 'text-mode)
)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; scratch buffers frame, prompt for initial mode - use 'scratch and prompts to manage as needed
(defun kmn/workspace-frame-scratch-prompt()
(interactive)
(let ((frame (make-frame)))
(select-frame-set-input-focus frame)
(delete-other-windows)
(scratch (let ((current-prefix-arg t)) (scratch--buffer-querymode)))
)
)