Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add sauron-pop-to-buffer

  • Loading branch information...
commit b7ba96bfdabc0cc7909c944b4eac95a21863c364 1 parent e035713
@tkf tkf authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 sauron.el
View
7 sauron.el
@@ -588,6 +588,13 @@ start sauron if it weren't so already."
(sauron-start)
(sr-show))))
+(defun sauron-pop-to-buffer ()
+ "Popup sauron buffer."
+ (interactive)
+ (unless (buffer-live-p sr-buffer)
+ (error "No sauron buffer found. Please start sauron by `sauron-start'."))
+ (pop-to-buffer sr-buffer))
+
(defun sauron-clear ()
"Clear the sauron buffer."
(interactive)
Please sign in to comment.
Something went wrong with that request. Please try again.