Skip to content

Commit

Permalink
fix(backports): add scratch-buffer (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 31, 2023
1 parent f6fbe96 commit f01f80b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/me-backports-29.el
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ the updated value."
user-emacs-directory)
native-comp-eln-load-path))

(defun scratch-buffer ()
"Switch to the *scratch* buffer.
If the buffer doesn't exist, create it first."
(interactive)
(pop-to-buffer-same-window (get-scratch-buffer-create)))

(defun native-compile-prune-cache ()
"Remove .eln files that aren't applicable to the current Emacs invocation."
(interactive)
Expand Down

0 comments on commit f01f80b

Please sign in to comment.