Skip to content

Commit

Permalink
Oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Nov 26, 2016
1 parent f5c18ce commit 8b6d0cd
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/rtags.el
Original file line number Diff line number Diff line change
Expand Up @@ -698,19 +698,6 @@ to case differences."
(when (and conf (equal frame (window-configuration-frame conf)))
(set-window-configuration conf))))

(defun magit-restore-window-configuration (&optional kill-buffer)
"Bury or kill the current buffer and restore previous window configuration."
(let ((winconf magit-previous-window-configuration)
(buffer (current-buffer))
(frame (selected-frame)))
(quit-window kill-buffer (selected-window))
(when (and winconf (equal frame (window-configuration-frame winconf)))
(set-window-configuration winconf)
(when (buffer-live-p buffer)
(with-current-buffer buffer
(setq magit-previous-window-configuration nil))))))


;;;###autoload
(defun rtags-call-bury-or-delete ()
(interactive)
Expand Down

0 comments on commit 8b6d0cd

Please sign in to comment.