help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doodle buffer


From: Emanuel Berg
Subject: doodle buffer
Date: Thu, 14 Mar 2019 16:52:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Another quality release from EBC! [1]

Pretty useful when you for example want to mess
around with words or do a simple calculation
e.g. (* 2 5 3.1415)

The best thing is, if you don't delete
anything, nothing will disappear!


(defun doodle-buffer ()
  (interactive)
  (let ((doodle-buffer "~/ooa/doodle.el"))
    (if (= 1 (count-windows))
        (progn
          (split-window-vertically)
          (other-window 1)
          (find-file doodle-buffer) )
      (find-file doodle-buffer) )))
(defalias 'db #'doodle-buffer)


[1] http://user.it.uu.se/~embe8573/emacs-init/window.el

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]