Mercurial > emacs
comparison lisp/emacs-lisp/eieio-speedbar.el @ 105327:dcbb3800a4e1
Doc/message fixes.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 01 Oct 2009 02:50:00 +0000 |
parents | bdd443ec02cf |
children | 7f4c7f5c0eba |
comparison
equal
deleted
inserted
replaced
105326:e18b53ee74a9 | 105327:dcbb3800a4e1 |
---|---|
1 ;;; eieio-speedbar.el -- Classes for managing speedbar displays. | 1 ;;; eieio-speedbar.el -- Classes for managing speedbar displays. |
2 | 2 |
3 ;; Copyright (C) 1999, 2000, 2001, 2002, 2005, 2007, 2008, 2009 | 3 ;; Copyright (C) 1999, 2000, 2001, 2002, 2005, 2007, 2008, 2009 |
4 ;; Free Software Foundation, Inc. | 4 ;; Free Software Foundation, Inc. |
5 | 5 |
6 ;; Author: Eric M. Ludlam <zappo@gnu.org> | 6 ;; Author: Eric M. Ludlam <zappo@gnu.org> |
7 ;; Version: 0.2 | 7 ;; Version: 0.2 |
8 ;; Keywords: OO, tools | 8 ;; Keywords: OO, tools |
9 | 9 |
10 ;; This file is part of GNU Emacs. | 10 ;; This file is part of GNU Emacs. |
11 | 11 |
75 ;; | 75 ;; |
76 ;; 4) Call `eieio-speedbar-create' as specified in it's documentation | 76 ;; 4) Call `eieio-speedbar-create' as specified in it's documentation |
77 ;; string. This will automatically handle cases when speedbar is | 77 ;; string. This will automatically handle cases when speedbar is |
78 ;; not already loaded, and specifying all overload functions. | 78 ;; not already loaded, and specifying all overload functions. |
79 ;; | 79 ;; |
80 ;; 5) Create an initliazer function which looks like this: | 80 ;; 5) Create an initializer function which looks like this: |
81 ;; | 81 ;; |
82 ;; (defun my-speedbar-mode-initilaize () | 82 ;; (defun my-speedbar-mode-initialize () |
83 ;; "documentation" | 83 ;; "documentation" |
84 ;; (interactive) | 84 ;; (interactive) |
85 ;; (speedbar-frame-mode 1) | 85 ;; (speedbar-frame-mode 1) |
86 ;; (speedbar-change-initial-expansion-list mymodename) | 86 ;; (speedbar-change-initial-expansion-list mymodename) |
87 ;; (speedbar-get-focus)) | 87 ;; (speedbar-get-focus)) |
134 | 134 |
135 (defun eieio-speedbar-create (map-fn map-var menu-var modename fetcher) | 135 (defun eieio-speedbar-create (map-fn map-var menu-var modename fetcher) |
136 "Create a speedbar mode for displaying an object hierarchy. | 136 "Create a speedbar mode for displaying an object hierarchy. |
137 MAP-FN is the keymap generator function used for extra keys. | 137 MAP-FN is the keymap generator function used for extra keys. |
138 MAP-VAR is the keymap variable used. | 138 MAP-VAR is the keymap variable used. |
139 MENU-VAR is the symbol containting an easymenu compatible menu part to use. | 139 MENU-VAR is the symbol containing an easymenu compatible menu part to use. |
140 MODENAME is a s tring used to identify this browser mode. | 140 MODENAME is a string used to identify this browser mode. |
141 FETCHER is a generic function used to fetch the base object list used when | 141 FETCHER is a generic function used to fetch the base object list used when |
142 creating the speedbar display." | 142 creating the speedbar display." |
143 (if (not (featurep 'speedbar)) | 143 (if (not (featurep 'speedbar)) |
144 (add-hook 'speedbar-load-hook | 144 (add-hook 'speedbar-load-hook |
145 (list 'lambda nil | 145 (list 'lambda nil |