diff options
author | Charles Comstock <dgtized@gmail.com> | 2014-06-24 15:48:10 -0500 |
---|---|---|
committer | Charles Comstock <dgtized@gmail.com> | 2014-06-24 15:48:10 -0500 |
commit | e6bc37833c38345db3b363fe9b1461b3b0797aac (patch) | |
tree | 63ed6dc3be85c30a6c5b2f5a9615ce7480732711 /cider-scratch.el | |
parent | 7071ba083b5b8dc3afdfe6034ad8a81fbf94edbc (diff) |
Move point on new scratch buffers below comments
This matches the behavior of a newly created emacs scratch buffer. Merges insert
forms as it accepts &rest arguments.
Diffstat (limited to 'cider-scratch.el')
-rw-r--r-- | cider-scratch.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cider-scratch.el b/cider-scratch.el index befa94b7..d7e906e5 100644 --- a/cider-scratch.el +++ b/cider-scratch.el @@ -55,8 +55,8 @@ "Create a new scratch buffer." (with-current-buffer (get-buffer-create cider-scratch-buffer-name) (clojure-mode) - (insert ";; This buffer is for Clojure experiments and evaluation.\n") - (insert ";; Press C-j to evaluate the last expression.") + (insert ";; This buffer is for Clojure experiments and evaluation.\n" + ";; Press C-j to evaluate the last expression.\n\n") (use-local-map cider-scratch-mode-map) (current-buffer))) |