diff options
| author | Chong Yidong | 2005-10-01 03:01:42 +0000 |
|---|---|---|
| committer | Chong Yidong | 2005-10-01 03:01:42 +0000 |
| commit | 35d884a99ef6e3f53756c34d6b6d663a044cebcd (patch) | |
| tree | 689347f672363f73039eee6e4ec5a4ee70a2b495 | |
| parent | fa8459a34e076cacde3b7c259af9b5dd84b60802 (diff) | |
| download | emacs-35d884a99ef6e3f53756c34d6b6d663a044cebcd.tar.gz emacs-35d884a99ef6e3f53756c34d6b6d663a044cebcd.zip | |
* speedbar.el: Re-apply arch tag.
(speedbar-version): Renamed to version 1.0. Suggested by Eric
M. Ludlam.
Reapply two changes from Emacs CVS' version of speedbar lost
during the merge:
(speedbar-use-imenu-flag): Avoid unnecessary use of
locate-library.
(speedbar-frame-parameters): Improve customize type.
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/speedbar.el | 16 |
2 files changed, 21 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index edc75e3c506..bb1b821a1fb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2005-10-01 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * speedbar.el: Re-apply arch tag. | ||
| 4 | (speedbar-version): Renamed to version 1.0. Suggested by Eric | ||
| 5 | M. Ludlam. | ||
| 6 | Reapply two changes from Emacs CVS' version of speedbar lost | ||
| 7 | during the merge: | ||
| 8 | (speedbar-use-imenu-flag): Avoid unnecessary use of | ||
| 9 | locate-library. | ||
| 10 | (speedbar-frame-parameters): Improve customize type. | ||
| 11 | |||
| 1 | 2005-09-30 Bill Wohler <wohler@newt.com> | 12 | 2005-09-30 Bill Wohler <wohler@newt.com> |
| 2 | 13 | ||
| 3 | Moved MH-E image files from toolbar and mail directories into | 14 | Moved MH-E image files from toolbar and mail directories into |
diff --git a/lisp/speedbar.el b/lisp/speedbar.el index a25b7aa19c3..84411f12223 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el | |||
| @@ -4,9 +4,9 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 6 | ;; Keywords: file, tags, tools | 6 | ;; Keywords: file, tags, tools |
| 7 | ;; X-RCS: $Id: speedbar.el,v 1.247 2005/06/30 02:37:40 zappo Exp $ | 7 | ;; X-RCS: $Id: speedbar.el,v 1.68 2005/09/30 13:15:10 cyd Exp $ |
| 8 | 8 | ||
| 9 | (defvar speedbar-version "1.0pre3" | 9 | (defvar speedbar-version "1.0" |
| 10 | "The current version of speedbar.") | 10 | "The current version of speedbar.") |
| 11 | (defvar speedbar-incompatible-version "0.14beta4" | 11 | (defvar speedbar-incompatible-version "0.14beta4" |
| 12 | "This version of speedbar is incompatible with this version. | 12 | "This version of speedbar is incompatible with this version. |
| @@ -278,7 +278,9 @@ Any parameter supported by a frame may be added. The parameter `height' | |||
| 278 | will be initialized to the height of the frame speedbar is | 278 | will be initialized to the height of the frame speedbar is |
| 279 | attached to and added to this list before the new frame is initialized." | 279 | attached to and added to this list before the new frame is initialized." |
| 280 | :group 'speedbar | 280 | :group 'speedbar |
| 281 | :type '(repeat (sexp :tag "Parameter:"))) | 281 | :type '(repeat (cons :format "%v" |
| 282 | (symbol :tag "Parameter") | ||
| 283 | (sexp :tag "Value")))) | ||
| 282 | 284 | ||
| 283 | ;; These values by Hrvoje Niksic <hniksic@srce.hr> | 285 | ;; These values by Hrvoje Niksic <hniksic@srce.hr> |
| 284 | (defcustom speedbar-frame-plist | 286 | (defcustom speedbar-frame-plist |
| @@ -297,7 +299,7 @@ is attached to." | |||
| 297 | (symbol :tag "Property") | 299 | (symbol :tag "Property") |
| 298 | (sexp :tag "Value")))) | 300 | (sexp :tag "Value")))) |
| 299 | 301 | ||
| 300 | (defcustom speedbar-use-imenu-flag (stringp (locate-library "imenu")) | 302 | (defcustom speedbar-use-imenu-flag (fboundp 'imenu) |
| 301 | "*Non-nil means use imenu for file parsing. nil to use etags. | 303 | "*Non-nil means use imenu for file parsing. nil to use etags. |
| 302 | XEmacs prior to 20.4 doesn't support imenu, therefore the default is to | 304 | XEmacs prior to 20.4 doesn't support imenu, therefore the default is to |
| 303 | use etags instead. Etags support is not as robust as imenu support." | 305 | use etags instead. Etags support is not as robust as imenu support." |
| @@ -3598,7 +3600,7 @@ functions to do caching and flushing if appropriate." | |||
| 3598 | 3600 | ||
| 3599 | nil | 3601 | nil |
| 3600 | 3602 | ||
| 3601 | (eval-when-compile (if (locate-library "imenu") (require 'imenu))) | 3603 | (eval-when-compile (condition-case nil (require 'imenu) (error nil))) |
| 3602 | 3604 | ||
| 3603 | (defun speedbar-fetch-dynamic-imenu (file) | 3605 | (defun speedbar-fetch-dynamic-imenu (file) |
| 3604 | "Load FILE into a buffer, and generate tags using Imenu. | 3606 | "Load FILE into a buffer, and generate tags using Imenu. |
| @@ -4092,7 +4094,9 @@ TEXT is the buffer's name, TOKEN and INDENT are unused." | |||
| 4092 | ) | 4094 | ) |
| 4093 | 4095 | ||
| 4094 | (provide 'speedbar) | 4096 | (provide 'speedbar) |
| 4095 | ;;; speedbar ends here | ||
| 4096 | 4097 | ||
| 4097 | ;; run load-time hooks | 4098 | ;; run load-time hooks |
| 4098 | (run-hooks 'speedbar-load-hook) | 4099 | (run-hooks 'speedbar-load-hook) |
| 4100 | |||
| 4101 | ;; arch-tag: 4477e6d1-f78c-48b9-a503-387d3c9767d5 | ||
| 4102 | ;;; speedbar ends here | ||