buildout section in emacs

Add this on your .emacs and alt-x bsection give you a cool buffer for navigate on buildout section name.


(defun bsection()
(interactive)
(occur "\\\[.*\\\]
")
(other-window 1)
(if (get-buffer "*buildout-section*") (kill-buffer "*buildout-section*"))
(rename-buffer "*buildout-section*")
(goto-char (search-forward ":["))
)

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.