Skip to content
Browse files

=Fixed bugs in tab-switching.

1) inhibited unnecessary messages and confirmation requests from files.el
2) fixed refreshing of tabs when switching between virtual and regular buffers.
  • Loading branch information...
1 parent 15ec4db commit 0b1dc63a7062c6cb28eac4ea6fb5c2a3afac6a2d @escherdragon committed
Showing with 6 additions and 4 deletions.
  1. +6 −4 sunrise-x-tabs.el
View
10 sunrise-x-tabs.el
@@ -7,7 +7,7 @@
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 24 Oct 2009
;; Version: 1
-;; RCS Version: $Rev: 431 $
+;; RCS Version: $Rev: 432 $
;; Keywords: sunrise commander, tabs
;; URL: http://www.emacswiki.org/emacs/sunrise-x-tabs.el
;; Compatibility: GNU Emacs 22+
@@ -239,9 +239,11 @@ The direction depends on the value of BACK."
(with-current-buffer from-buffer
(set-buffer-modified-p nil)
(kill-buffer (current-buffer))))
- (revert-buffer)
- (sr-history-push default-directory)))
- (sr-tabs-refresh))
+ (condition-case nil
+ (revert-buffer t t)
+ (error (ignore)))
+ (sr-history-push default-directory))
+ (sr-tabs-refresh)))
(defun sr-tabs-focus (name side)
"Give focus to the tab with name NAME in SIDE pane."

0 comments on commit 0b1dc63

Please sign in to comment.
Something went wrong with that request. Please try again.