Commit a5f66d7
committed
Activate magithub-minor-mode more conservatively
Replace "magithub-try-enabling-minor-mode-everywhere" with
"magithub-try-enabling-minor-mode-for-repo", which only tries to
enable magithub-minor-mode for buffers corresponding to files in the
current repo.
This solves the issue with magithub hanging indefinitely when you have
a remote file open on a currently-inaccessible server. In such cases,
magithub would try to enable its minro mode in the remote file's
buffer, which would cause TRAMP to try to reconnect to the server,
which would hang because the server was inaccessible.1 parent e9826d2 commit a5f66d7
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1130 | 1130 | | |
1131 | 1131 | | |
1132 | 1132 | | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
1137 | 1145 | | |
1138 | 1146 | | |
1139 | 1147 | | |
| |||
1155 | 1163 | | |
1156 | 1164 | | |
1157 | 1165 | | |
1158 | | - | |
| 1166 | + | |
1159 | 1167 | | |
1160 | 1168 | | |
1161 | 1169 | | |
| |||
0 commit comments