aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2004-08-22 21:11:43 +0000
committerLuc Teirlinck2004-08-22 21:11:43 +0000
commit49eac10f921716d0cac034c977731fddd115388a (patch)
treec78eb4a832ba7c2e180a38b656fc29be00c38291
parent2ee3b79e47ac5afd833dd77decf3173748ca05ee (diff)
downloademacs-49eac10f921716d0cac034c977731fddd115388a.tar.gz
emacs-49eac10f921716d0cac034c977731fddd115388a.zip
(speedbar-file-regexp): Give it a phony defvar before and a real
defvar after `speedbar-supported-extension-expressions'. This is to silence the compiler without breaking bootstrapping.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/speedbar.el14
2 files changed, 17 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e70a3fd3fa3..a0dcde78786 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12004-08-22 Luc Teirlinck <teirllm@auburn.edu>
2
3 * speedbar.el (speedbar-file-regexp): Give it a phony defvar
4 before and a real defvar after
5 `speedbar-supported-extension-expressions'. This is to silence
6 the compiler without breaking bootstrapping.
7
12004-08-22 Richard M. Stallman <rms@gnu.org> 82004-08-22 Richard M. Stallman <rms@gnu.org>
2 9
3 * textmodes/flyspell.el (flyspell-word): Use 10 * textmodes/flyspell.el (flyspell-word): Use
@@ -30,9 +37,9 @@
30 * ps-mule.el: Delete compatibility code for old Emacses. 37 * ps-mule.el: Delete compatibility code for old Emacses.
31 (ps-mule-find-wrappoint): Don't use chars-in-region. 38 (ps-mule-find-wrappoint): Don't use chars-in-region.
32 39
33 * frame.el (display-mouse-p, display-selections-p): 40 * frame.el (display-mouse-p, display-selections-p):
34 Use with-no-warnings. 41 Use with-no-warnings.
35 42
36 * font-lock.el (font-lock-set-defaults): Use with-no-warnings. 43 * font-lock.el (font-lock-set-defaults): Use with-no-warnings.
37 44
382004-08-22 David Kastrup <dak@gnu.org> 452004-08-22 David Kastrup <dak@gnu.org>
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index 524a6d4f2f8..1a222e6004e 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -665,12 +665,8 @@ useful, such as version control."
665 "*Regexp matching files we don't want displayed in a speedbar buffer. 665 "*Regexp matching files we don't want displayed in a speedbar buffer.
666It is generated from the variable `completion-ignored-extensions'") 666It is generated from the variable `completion-ignored-extensions'")
667 667
668;; This can't be further down, since it is needed just after. 668;; Ugly compiler silencing trick. The real defvar comes later in this file.
669(defvar speedbar-file-regexp 669(defvar speedbar-file-regexp)
670 (speedbar-extension-list-to-regex speedbar-supported-extension-expressions)
671 "Regular expression matching files we know how to expand.
672Created from `speedbar-supported-extension-expression' with the
673function `speedbar-extension-list-to-regex'")
674 670
675;; this is dangerous to customize, because the defaults will probably 671;; this is dangerous to customize, because the defaults will probably
676;; change in the future. 672;; change in the future.
@@ -698,6 +694,12 @@ file."
698 (setq speedbar-supported-extension-expressions val 694 (setq speedbar-supported-extension-expressions val
699 speedbar-file-regexp (speedbar-extension-list-to-regex val)))) 695 speedbar-file-regexp (speedbar-extension-list-to-regex val))))
700 696
697(defvar speedbar-file-regexp
698 (speedbar-extension-list-to-regex speedbar-supported-extension-expressions)
699 "Regular expression matching files we know how to expand.
700Created from `speedbar-supported-extension-expression' with the
701function `speedbar-extension-list-to-regex'")
702
701(defcustom speedbar-scan-subdirs nil 703(defcustom speedbar-scan-subdirs nil
702 "*Non-nil means speedbar will check if subdirs are empty. 704 "*Non-nil means speedbar will check if subdirs are empty.
703That way you don't have to click on them to find out. But this 705That way you don't have to click on them to find out. But this