X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/b9fbc167a866c541c2a69509b2e32e4d403187cf..746dca0081c754fbcc8c9f3422191c2aae9295e9:/lisp/speedbar.el diff --git a/lisp/speedbar.el b/lisp/speedbar.el index a8f74de0b1..12d25ed7ee 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -1,7 +1,7 @@ ;;; speedbar.el --- quick access to files and tags in a frame -;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2005 -;; Free Software Foundation +;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, +;; 2004, 2005 Free Software Foundation, Inc. ;; Author: Eric M. Ludlam ;; Version: 0.11a @@ -21,8 +21,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Commentary: ;; @@ -711,7 +711,7 @@ incurs extra I/O, hence it slows down directory display proportionally to the number of subdirs." :group 'speedbar :type 'boolean - :version 21.4) + :version 22.1) (defun speedbar-add-supported-extension (extension) "Add EXTENSION as a new supported extension for speedbar tagging. @@ -761,11 +761,9 @@ PATH-EXPRESSION to `speedbar-ignored-path-expressions'." (display-graphic-p) window-system)) "*Non-nil means to automatically update the display. -When this is nil then speedbar will not follow the attached frame's path. -When speedbar is active, use: - -\\ `\\[speedbar-toggle-updates]' - +When this is nil then speedbar will not follow the attached +frame's path. Type \ +\\\\[speedbar-toggle-updates] in the speedbar \ to toggle this value.") (defvar speedbar-syntax-table nil @@ -1308,7 +1306,7 @@ in the selected file. (if speedbar-track-mouse-flag (set (make-local-variable 'track-mouse) t)) ;this could be messy. (setq auto-show-mode nil)) ;no auto-show for Emacs - (run-hooks 'speedbar-mode-hook)) + (run-mode-hooks 'speedbar-mode-hook)) (speedbar-update-contents) speedbar-buffer) @@ -1344,7 +1342,7 @@ Optional EVENT is currently not used." (if (equal (car pos) speedbar-frame) (save-excursion (save-window-excursion - (apply 'set-mouse-position pos) + (apply 'set-mouse-position (list (car pos) (cadr pos) (cddr pos))) (speedbar-item-info)))))) (defun speedbar-set-mode-line-format ()