title: Outline or fold mode for editing Emacs Lisp code
body: <p>Is there a minor mode that I can use in combination with Emacs-Lisp mode such that each function definition can be switched on or off easily without inserting special code in the text file?</p>
  
  <p>for instance</p>
  
  <pre><code>(defun test1()
    (message "Hi!"))
  
  (defun test2()
    (message "Bye"))
  </code></pre>
  
  <p>Pressing <kbd>F1</kbd> will fold each function definition into the top line/header as</p>
  
  <pre><code>+ (defun test1()
  + (defun test2()
  </code></pre>
  
  <p>Pressing the <code>+</code> sign in front will unfold a given function and make it editable..
  Pressing <kbd>F2</kbd> will unfold all definitions..</p>