diff options
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/speedbar.el | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9fb3abb4aad..eb59386e0c0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2005-01-27 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2005-01-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * speedbar.el: Avoid unnecessary use of locate-library. | ||
| 4 | |||
| 3 | * international/mule-cmds.el (standard-display-european-internal): | 5 | * international/mule-cmds.el (standard-display-european-internal): |
| 4 | Don't fiddle with latin-1 non-break space any more since it's now | 6 | Don't fiddle with latin-1 non-break space any more since it's now |
| 5 | special cased in the C code. | 7 | special cased in the C code. |
diff --git a/lisp/speedbar.el b/lisp/speedbar.el index c182dffdba7..a8f74de0b11 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; speedbar.el --- quick access to files and tags in a frame | 1 | ;;; speedbar.el --- quick access to files and tags in a frame |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 1996, 97, 98, 99, 2000, 01 Free Software Foundation | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2005 |
| 4 | ;; Free Software Foundation | ||
| 4 | 5 | ||
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 6 | ;; Version: 0.11a | 7 | ;; Version: 0.11a |
| @@ -170,6 +171,8 @@ | |||
| 170 | ;; - More functions to create buttons and options | 171 | ;; - More functions to create buttons and options |
| 171 | ;; - Timeout directories we haven't visited in a while. | 172 | ;; - Timeout directories we haven't visited in a while. |
| 172 | 173 | ||
| 174 | ;;; Code: | ||
| 175 | |||
| 173 | (require 'assoc) | 176 | (require 'assoc) |
| 174 | (require 'easymenu) | 177 | (require 'easymenu) |
| 175 | 178 | ||
| @@ -201,7 +204,6 @@ | |||
| 201 | :prefix "speedbar-" | 204 | :prefix "speedbar-" |
| 202 | :group 'speedbar) | 205 | :group 'speedbar) |
| 203 | 206 | ||
| 204 | ;;; Code: | ||
| 205 | (defvar speedbar-initial-expansion-mode-alist | 207 | (defvar speedbar-initial-expansion-mode-alist |
| 206 | '(("buffers" speedbar-buffer-easymenu-definition speedbar-buffers-key-map | 208 | '(("buffers" speedbar-buffer-easymenu-definition speedbar-buffers-key-map |
| 207 | speedbar-buffer-buttons) | 209 | speedbar-buffer-buttons) |
| @@ -373,7 +375,7 @@ is attached to." | |||
| 373 | (symbol :tag "Property") | 375 | (symbol :tag "Property") |
| 374 | (sexp :tag "Value")))) | 376 | (sexp :tag "Value")))) |
| 375 | 377 | ||
| 376 | (defcustom speedbar-use-imenu-flag (stringp (locate-library "imenu")) | 378 | (defcustom speedbar-use-imenu-flag (fboundp 'imenu) |
| 377 | "*Non-nil means use imenu for file parsing. nil to use etags. | 379 | "*Non-nil means use imenu for file parsing. nil to use etags. |
| 378 | XEmacs prior to 20.4 doesn't support imenu, therefore the default is to | 380 | XEmacs prior to 20.4 doesn't support imenu, therefore the default is to |
| 379 | use etags instead. Etags support is not as robust as imenu support." | 381 | use etags instead. Etags support is not as robust as imenu support." |
| @@ -3749,7 +3751,7 @@ functions to do caching and flushing if appropriate." | |||
| 3749 | 3751 | ||
| 3750 | nil | 3752 | nil |
| 3751 | 3753 | ||
| 3752 | (eval-when-compile (if (locate-library "imenu") (require 'imenu))) | 3754 | (eval-when-compile (condition-case nil (require 'imenu) (error nil))) |
| 3753 | 3755 | ||
| 3754 | (defun speedbar-fetch-dynamic-imenu (file) | 3756 | (defun speedbar-fetch-dynamic-imenu (file) |
| 3755 | "Load FILE into a buffer, and generate tags using Imenu. | 3757 | "Load FILE into a buffer, and generate tags using Imenu. |
| @@ -4359,5 +4361,5 @@ If we have an image associated with it, use that image." | |||
| 4359 | ;; run load-time hooks | 4361 | ;; run load-time hooks |
| 4360 | (run-hooks 'speedbar-load-hook) | 4362 | (run-hooks 'speedbar-load-hook) |
| 4361 | 4363 | ||
| 4362 | ;;; arch-tag: 4477e6d1-f78c-48b9-a503-387d3c9767d5 | 4364 | ;; arch-tag: 4477e6d1-f78c-48b9-a503-387d3c9767d5 |
| 4363 | ;;; speedbar.el ends here | 4365 | ;;; speedbar.el ends here |