Revisión | 8bb38eb15ddc1deadb4930a8b42b936e20da71e2 (tree) |
---|---|
Tiempo | 2019-11-11 18:49:29 |
Autor | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
I fixed the problem with a free variable mentioned here https://kutt.it/16rMFa
@@ -7,12 +7,12 @@ | ||
7 | 7 | ;; Copyright (C) 2008, 2009, Andy Stewart, all rights reserved. |
8 | 8 | ;; Copyright (C) 2009, Peter Lunicks, all rights reversed. |
9 | 9 | ;; Created: 2008 |
10 | -;; Version: 20161025 | |
10 | +;; Version: 20140914.2339 | |
11 | 11 | ;; X-Original-Version: 0.1.10 |
12 | -;; Last-Updated: 2016-10-25 | |
12 | +;; Last-Updated: 2014-08-03 11:30:00 | |
13 | 13 | ;; URL: http://www.emacswiki.org/emacs/download/sr-speedbar.el |
14 | 14 | ;; Keywords: speedbar, sr-speedbar.el |
15 | -;; Compatibility: GNU Emacs 22 ~ GNU Emacs 25 | |
15 | +;; Compatibility: GNU Emacs 22 ~ GNU Emacs 24 | |
16 | 16 | ;; |
17 | 17 | ;; Features required by this library: |
18 | 18 | ;; |
@@ -78,13 +78,6 @@ | ||
78 | 78 | ;; M-x customize-group RET sr-speedbar RET |
79 | 79 | |
80 | 80 | ;;; Change log: |
81 | -;; * 25 Oct 2016: | |
82 | -;; * Hong Xu <hong@topbug.net> | |
83 | -;; * Fix compilation warning when `helm-alive-p' is not defined. | |
84 | -;; | |
85 | -;; * 04 Aug 2015: | |
86 | -;; * Tamas Levai <levait@tmit.bme.hu>: | |
87 | -;; * fix compilation warnings | |
88 | 81 | ;; |
89 | 82 | ;; * 15 Sep 2014: |
90 | 83 | ;; * Tu, Do Hoang <tuhdo1710@gmail.com> |
@@ -263,9 +256,7 @@ | ||
263 | 256 | ;;; Require |
264 | 257 | (require 'speedbar) |
265 | 258 | (require 'advice) |
266 | -(require 'cl-lib) | |
267 | -(eval-when-compile | |
268 | - (require 'cl)) | |
259 | +(require 'cl) | |
269 | 260 | |
270 | 261 | ;;; Code: |
271 | 262 |
@@ -368,11 +359,6 @@ | ||
368 | 359 | (defvar sr-speedbar-last-refresh-dictionary nil |
369 | 360 | "The last refresh dictionary record of 'sr-speedbar-refresh'.") |
370 | 361 | |
371 | -(eval-when-compile | |
372 | - (defvar ecb-activated-window-configuration nil) | |
373 | - (defun ecb-activate ()) | |
374 | - (defun ecb-deactivate ())) | |
375 | - | |
376 | 362 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Interactive functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
377 | 363 | ;;;###autoload |
378 | 364 | (defun sr-speedbar-toggle () |
@@ -631,7 +617,10 @@ | ||
631 | 617 | (sr-speedbar-window-dedicated-only-one-p) ;just have one `non-dedicated' window |
632 | 618 | (sr-speedbar-window-exist-p sr-speedbar-window) |
633 | 619 | (not (sr-speedbar-window-p)) ;not in `sr-speedbar' window |
634 | - (not (bound-and-true-p helm-alive-p))) | |
620 | +;; (if (featurep 'helm) | |
621 | +;; (not helm-alive-p) | |
622 | +;; t)) | |
623 | + (not (bound-and-true-p helm-alive-p))) | |
635 | 624 | (split-window-vertically) |
636 | 625 | (windmove-down))) |
637 | 626 |
@@ -648,4 +637,4 @@ | ||
648 | 637 | |
649 | 638 | (provide 'sr-speedbar) |
650 | 639 | |
651 | -;;; sr-speedbar.el ends here | |
640 | +;;; sr-speedbar.el ends here | |
\ No newline at end of file |