diff options
Diffstat (limited to 'bard-elisp/bard-scratch.el')
| -rw-r--r-- | bard-elisp/bard-scratch.el | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/bard-elisp/bard-scratch.el b/bard-elisp/bard-scratch.el deleted file mode 100644 index 7180ccb..0000000 --- a/bard-elisp/bard-scratch.el +++ /dev/null @@ -1,32 +0,0 @@ -;; Text Scratch buffers -(defun bard/new-org-buffer () - (interactive) - (let ((xbuf (generate-new-buffer "*org*"))) - (switch-to-buffer xbuf) - (funcall (quote org-mode)) - (text-scale-increase 1.5) - xbuf)) -(define-key global-map (kbd "M-=") #'bard/new-org-buffer) - -(defun bard/new-plain-buffer () - (interactive) - (let ((xbuf (generate-new-buffer "*plain*"))) - (switch-to-buffer xbuf) - (text-scale-increase 1.5) - xbuf)) - -(define-key global-map (kbd "M--") #'bard/new-plain-buffer) - -;; elisp scratch buffer - -(defun bard/new-elisp-buffer () - (interactive) - (let ((xbuf (generate-new-buffer "*elisp*"))) - (switch-to-buffer xbuf) - (funcall (quote emacs-lisp-mode)) - (text-scale-increase 1.5) - xbuf)) - -(define-key global-map (kbd "C-z C-s") #'bard/new-elisp-buffer) - -(provide 'bard-scratch.el) |
