aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2002-10-17 16:57:37 +0000
committerJuanma Barranquero2002-10-17 16:57:37 +0000
commit106ba1bb30cc7be2256e7139e76d7106e8e9cca5 (patch)
tree01cd080534d3fd7d08cf272a71fd497b92bf8504
parent8cef13d03eb7316cc80deb4ac086ce4a876b463c (diff)
downloademacs-106ba1bb30cc7be2256e7139e76d7106e8e9cca5.tar.gz
emacs-106ba1bb30cc7be2256e7139e76d7106e8e9cca5.zip
(ebrowse-ts, ebrowse-view/find-file-and-search-pattern,
ebrowse-draw-file-member-info): Fix typo.
-rw-r--r--lisp/progmodes/ebrowse.el88
1 files changed, 44 insertions, 44 deletions
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el
index 3fee1fbdeed..9ee70a5d48a 100644
--- a/lisp/progmodes/ebrowse.el
+++ b/lisp/progmodes/ebrowse.el
@@ -31,7 +31,7 @@
31;; - A complete set of tags-like functions working on class trees 31;; - A complete set of tags-like functions working on class trees
32;; - An electric buffer list showing class browser buffers only 32;; - An electric buffer list showing class browser buffers only
33 33
34;; Documentation is found in a separate Info file. 34;; Documentation is found in a separate Info file.
35 35
36;;; Code: 36;;; Code:
37 37
@@ -375,10 +375,10 @@ otherwise use the current frame's width."
375 ;; they are defined. 375 ;; they are defined.
376 member-table) 376 member-table)
377 377
378 378
379(defstruct (ebrowse-ts (:type vector) :named) 379(defstruct (ebrowse-ts (:type vector) :named)
380 "Tree structure. 380 "Tree structure.
381Following the header structure, an BROWSE file contains a number 381Following the header structure, a BROWSE file contains a number
382of `ebrowse-ts' structures, each one describing one root class of 382of `ebrowse-ts' structures, each one describing one root class of
383the class hierarchy with all its subclasses." 383the class hierarchy with all its subclasses."
384 ;; A `ebrowse-cs' structure describing the root class. 384 ;; A `ebrowse-cs' structure describing the root class.
@@ -551,7 +551,7 @@ Buffer-local in Ebrowse buffers.")
551(defvar ebrowse--frozen-flag nil 551(defvar ebrowse--frozen-flag nil
552 "Non-nil means an Ebrowse buffer won't be reused. 552 "Non-nil means an Ebrowse buffer won't be reused.
553Buffer-local in Ebrowse buffers.") 553Buffer-local in Ebrowse buffers.")
554 554
555 555
556(defvar ebrowse--show-file-names-flag nil 556(defvar ebrowse--show-file-names-flag nil
557 "Non-nil means show file names in a tree buffer. 557 "Non-nil means show file names in a tree buffer.
@@ -572,7 +572,7 @@ Buffer-local in Ebrowse member buffers.")
572 "Width of a columns to display for short member display form. 572 "Width of a columns to display for short member display form.
573Buffer-local in Ebrowse member buffers.") 573Buffer-local in Ebrowse member buffers.")
574 574
575 575
576(defvar ebrowse--virtual-display-flag nil 576(defvar ebrowse--virtual-display-flag nil
577 "Non-nil means display virtual members in a member buffer. 577 "Non-nil means display virtual members in a member buffer.
578Buffer-local in Ebrowse member buffers.") 578Buffer-local in Ebrowse member buffers.")
@@ -796,7 +796,7 @@ information."
796 796
797(defun ebrowse-base-classes (tree) 797(defun ebrowse-base-classes (tree)
798 "Return list of base-classes of TREE by searching subclass lists. 798 "Return list of base-classes of TREE by searching subclass lists.
799This function must be used instead of the struct slot 799This function must be used instead of the struct slot
800`base-classes' to access the base-class list directly because it 800`base-classes' to access the base-class list directly because it
801computes this information lazily." 801computes this information lazily."
802 (or (ebrowse-ts-base-classes tree) 802 (or (ebrowse-ts-base-classes tree)
@@ -885,7 +885,7 @@ this is the first progress message displayed."
885;;; Reading a tree from disk 885;;; Reading a tree from disk
886 886
887(defun ebrowse-read () 887(defun ebrowse-read ()
888 "Read `ebrowse-hs' and `ebrowse-ts' structures in the current buffer. 888 "Read `ebrowse-hs' and `ebrowse-ts' structures in the current buffer.
889Return a list (HEADER TREE) where HEADER is the file header read 889Return a list (HEADER TREE) where HEADER is the file header read
890and TREE is a list of `ebrowse-ts' structures forming the class tree." 890and TREE is a list of `ebrowse-ts' structures forming the class tree."
891 (let ((header (condition-case nil 891 (let ((header (condition-case nil
@@ -924,7 +924,7 @@ NOCONFIRM."
924 (ebrowse-tree-mode) 924 (ebrowse-tree-mode)
925 (current-buffer))) 925 (current-buffer)))
926 926
927 927
928(defun ebrowse-create-tree-buffer (tree tags-file header obarray pop) 928(defun ebrowse-create-tree-buffer (tree tags-file header obarray pop)
929 "Create a new tree buffer for tree TREE. 929 "Create a new tree buffer for tree TREE.
930The tree was loaded from file TAGS-FILE. 930The tree was loaded from file TAGS-FILE.
@@ -1060,7 +1060,7 @@ if for some reason a circle is in the inheritance graph."
1060 (define-key map [down-mouse-3] 'ebrowse-mouse-3-in-tree-buffer) 1060 (define-key map [down-mouse-3] 'ebrowse-mouse-3-in-tree-buffer)
1061 (define-key map [mouse-2] 'ebrowse-mouse-2-in-tree-buffer) 1061 (define-key map [mouse-2] 'ebrowse-mouse-2-in-tree-buffer)
1062 (define-key map [down-mouse-1] 'ebrowse-mouse-1-in-tree-buffer)) 1062 (define-key map [down-mouse-1] 'ebrowse-mouse-1-in-tree-buffer))
1063 1063
1064 (let ((map1 (make-sparse-keymap))) 1064 (let ((map1 (make-sparse-keymap)))
1065 (suppress-keymap map1 t) 1065 (suppress-keymap map1 t)
1066 (define-key map "L" map1) 1066 (define-key map "L" map1)
@@ -1115,10 +1115,10 @@ Tree mode key bindings:
1115 (interactive) 1115 (interactive)
1116 (let* ((ident (propertized-buffer-identification "C++ Tree")) 1116 (let* ((ident (propertized-buffer-identification "C++ Tree"))
1117 header tree buffer-read-only) 1117 header tree buffer-read-only)
1118 1118
1119 (kill-all-local-variables) 1119 (kill-all-local-variables)
1120 (use-local-map ebrowse-tree-mode-map) 1120 (use-local-map ebrowse-tree-mode-map)
1121 1121
1122 (unless (zerop (buffer-size)) 1122 (unless (zerop (buffer-size))
1123 (goto-char (point-min)) 1123 (goto-char (point-min))
1124 (multiple-value-setq (header tree) (ebrowse-read)) 1124 (multiple-value-setq (header tree) (ebrowse-read))
@@ -1126,7 +1126,7 @@ Tree mode key bindings:
1126 (setq tree (ebrowse-sort-tree-list tree)) 1126 (setq tree (ebrowse-sort-tree-list tree))
1127 (erase-buffer) 1127 (erase-buffer)
1128 (message nil)) 1128 (message nil))
1129 1129
1130 (mapcar 'make-local-variable 1130 (mapcar 'make-local-variable
1131 '(ebrowse--tags-file-name 1131 '(ebrowse--tags-file-name
1132 ebrowse--indentation 1132 ebrowse--indentation
@@ -1136,7 +1136,7 @@ Tree mode key bindings:
1136 ebrowse--frozen-flag 1136 ebrowse--frozen-flag
1137 ebrowse--tree-obarray 1137 ebrowse--tree-obarray
1138 revert-buffer-function)) 1138 revert-buffer-function))
1139 1139
1140 (setf ebrowse--show-file-names-flag nil 1140 (setf ebrowse--show-file-names-flag nil
1141 ebrowse--tree-obarray (make-vector 127 0) 1141 ebrowse--tree-obarray (make-vector 127 0)
1142 ebrowse--frozen-flag nil 1142 ebrowse--frozen-flag nil
@@ -1159,7 +1159,7 @@ Tree mode key bindings:
1159 (ebrowse-redraw-tree) 1159 (ebrowse-redraw-tree)
1160 (set-buffer-modified-p nil)) 1160 (set-buffer-modified-p nil))
1161 (run-hooks 'ebrowse-tree-mode-hook))) 1161 (run-hooks 'ebrowse-tree-mode-hook)))
1162 1162
1163 1163
1164 1164
1165(defun ebrowse-update-tree-buffer-mode-line () 1165(defun ebrowse-update-tree-buffer-mode-line ()
@@ -1222,7 +1222,7 @@ If given a numeric N-TIMES argument, mark that many classes."
1222 (condition-case error 1222 (condition-case error
1223 (loop repeat (or n-times 1) 1223 (loop repeat (or n-times 1)
1224 as tree = (ebrowse-tree-at-point) 1224 as tree = (ebrowse-tree-at-point)
1225 do (progn 1225 do (progn
1226 (setf (ebrowse-ts-mark tree) (not (ebrowse-ts-mark tree))) 1226 (setf (ebrowse-ts-mark tree) (not (ebrowse-ts-mark tree)))
1227 (forward-line 1) 1227 (forward-line 1)
1228 (push tree to-change))) 1228 (push tree to-change)))
@@ -1426,11 +1426,11 @@ If no member buffer exists, make one."
1426 "Pop to a browser buffer from any other buffer. 1426 "Pop to a browser buffer from any other buffer.
1427Pop to member buffer if no prefix ARG, to tree buffer otherwise." 1427Pop to member buffer if no prefix ARG, to tree buffer otherwise."
1428 (interactive "P") 1428 (interactive "P")
1429 (let ((buffer (get-buffer (if arg 1429 (let ((buffer (get-buffer (if arg
1430 ebrowse-tree-buffer-name 1430 ebrowse-tree-buffer-name
1431 ebrowse-member-buffer-name)))) 1431 ebrowse-member-buffer-name))))
1432 (unless buffer 1432 (unless buffer
1433 (setq buffer 1433 (setq buffer
1434 (get-buffer (if arg 1434 (get-buffer (if arg
1435 ebrowse-member-buffer-name 1435 ebrowse-member-buffer-name
1436 ebrowse-tree-buffer-name)))) 1436 ebrowse-tree-buffer-name))))
@@ -1536,7 +1536,7 @@ VIEW non-nil means view it. WHERE is additional position info."
1536 :file (ebrowse-cs-file class) 1536 :file (ebrowse-cs-file class)
1537 :point (ebrowse-cs-point class)))) 1537 :point (ebrowse-cs-point class))))
1538 (ebrowse-view/find-file-and-search-pattern 1538 (ebrowse-view/find-file-and-search-pattern
1539 browse-struct 1539 browse-struct
1540 (list ebrowse--header class nil) 1540 (list ebrowse--header class nil)
1541 file 1541 file
1542 ebrowse--tags-file-name 1542 ebrowse--tags-file-name
@@ -1638,7 +1638,7 @@ The new frame is deleted when it is no longer used."
1638 (make-local-variable 'ebrowse--frame-configuration) 1638 (make-local-variable 'ebrowse--frame-configuration)
1639 (setq ebrowse--frame-configuration old-frame-configuration) 1639 (setq ebrowse--frame-configuration old-frame-configuration)
1640 (make-local-variable 'ebrowse--view-exit-action) 1640 (make-local-variable 'ebrowse--view-exit-action)
1641 (setq ebrowse--view-exit-action 1641 (setq ebrowse--view-exit-action
1642 (and (not had-a-buf) 1642 (and (not had-a-buf)
1643 (not (buffer-modified-p buf-to-view)) 1643 (not (buffer-modified-p buf-to-view))
1644 'kill-buffer)) 1644 'kill-buffer))
@@ -1653,7 +1653,7 @@ describing what to search.
1653INFO is a list (HEADER MEMBER-OR-CLASS ACCESSOR). HEADER is the 1653INFO is a list (HEADER MEMBER-OR-CLASS ACCESSOR). HEADER is the
1654header structure of a class tree. MEMBER-OR-CLASS is either an 1654header structure of a class tree. MEMBER-OR-CLASS is either an
1655`ebrowse-ms' or `ebrowse-cs' structure depending on what is searched. 1655`ebrowse-ms' or `ebrowse-cs' structure depending on what is searched.
1656ACCESSOR is an accessor function for the member list of an member 1656ACCESSOR is an accessor function for the member list of a member
1657if MEMBER-OR-CLASS is an `ebrowse-ms'. 1657if MEMBER-OR-CLASS is an `ebrowse-ms'.
1658FILE is the file to search the member in. 1658FILE is the file to search the member in.
1659FILE is not taken out of STRUC here because the filename in STRUC 1659FILE is not taken out of STRUC here because the filename in STRUC
@@ -1706,7 +1706,7 @@ expression matching any number of whitespace characters."
1706 1706
1707 1707
1708(defun ebrowse-class-declaration-regexp (name) 1708(defun ebrowse-class-declaration-regexp (name)
1709 "Construct a regexp for a declaration of class NAME." 1709 "Construct a regexp for a declaration of class NAME."
1710 (concat "^[ \t]*\\(template[ \t\n]*<.*>\\)?" 1710 (concat "^[ \t]*\\(template[ \t\n]*<.*>\\)?"
1711 "[ \t\n]*\\(class\\|struct\\|union\\).*\\S_" 1711 "[ \t\n]*\\(class\\|struct\\|union\\).*\\S_"
1712 (ebrowse-symbol-regexp name) 1712 (ebrowse-symbol-regexp name)
@@ -1841,13 +1841,13 @@ This function may look weird, but this is faster than recursion."
1841 start-of-class-name end-of-class-name) 1841 start-of-class-name end-of-class-name)
1842 ;; Insert mark 1842 ;; Insert mark
1843 (insert (if (ebrowse-ts-mark tree) ">" " ")) 1843 (insert (if (ebrowse-ts-mark tree) ">" " "))
1844 1844
1845 ;; Indent and insert class name 1845 ;; Indent and insert class name
1846 (indent-to (+ (* level ebrowse--indentation) 1846 (indent-to (+ (* level ebrowse--indentation)
1847 ebrowse-tree-left-margin)) 1847 ebrowse-tree-left-margin))
1848 (setq start (point)) 1848 (setq start (point))
1849 (insert (ebrowse-qualified-class-name class)) 1849 (insert (ebrowse-qualified-class-name class))
1850 1850
1851 ;; If template class, add <> 1851 ;; If template class, add <>
1852 (when (ebrowse-template-p class) 1852 (when (ebrowse-template-p class)
1853 (insert "<>")) 1853 (insert "<>"))
@@ -2168,7 +2168,7 @@ See 'Electric-command-loop' for a description of STATE and CONDITION."
2168 (define-key map1 "d" 'ebrowse-switch-member-buffer-to-derived-class) 2168 (define-key map1 "d" 'ebrowse-switch-member-buffer-to-derived-class)
2169 (define-key map1 "n" 'ebrowse-switch-member-buffer-to-next-sibling-class) 2169 (define-key map1 "n" 'ebrowse-switch-member-buffer-to-next-sibling-class)
2170 (define-key map1 "p" 'ebrowse-switch-member-buffer-to-previous-sibling-class)) 2170 (define-key map1 "p" 'ebrowse-switch-member-buffer-to-previous-sibling-class))
2171 2171
2172 (let ((map1 (make-sparse-keymap))) 2172 (let ((map1 (make-sparse-keymap)))
2173 (suppress-keymap map1 t) 2173 (suppress-keymap map1 t)
2174 (define-key map "D" map1) 2174 (define-key map "D" map1)
@@ -2178,7 +2178,7 @@ See 'Electric-command-loop' for a description of STATE and CONDITION."
2178 (define-key map1 "l" 'ebrowse-toggle-long-short-display) 2178 (define-key map1 "l" 'ebrowse-toggle-long-short-display)
2179 (define-key map1 "r" 'ebrowse-toggle-regexp-display) 2179 (define-key map1 "r" 'ebrowse-toggle-regexp-display)
2180 (define-key map1 "w" 'ebrowse-set-member-buffer-column-width)) 2180 (define-key map1 "w" 'ebrowse-set-member-buffer-column-width))
2181 2181
2182 (let ((map1 (make-sparse-keymap))) 2182 (let ((map1 (make-sparse-keymap)))
2183 (suppress-keymap map1 t) 2183 (suppress-keymap map1 t)
2184 (define-key map "F" map1) 2184 (define-key map "F" map1)
@@ -2193,7 +2193,7 @@ See 'Electric-command-loop' for a description of STATE and CONDITION."
2193 (define-key map1 "p" 'ebrowse-toggle-pure-member-filter) 2193 (define-key map1 "p" 'ebrowse-toggle-pure-member-filter)
2194 (define-key map1 "r" 'ebrowse-remove-all-member-filters) 2194 (define-key map1 "r" 'ebrowse-remove-all-member-filters)
2195 (define-key map1 "v" 'ebrowse-toggle-virtual-member-filter)) 2195 (define-key map1 "v" 'ebrowse-toggle-virtual-member-filter))
2196 2196
2197 (let ((map1 (make-sparse-keymap))) 2197 (let ((map1 (make-sparse-keymap)))
2198 (suppress-keymap map1 t) 2198 (suppress-keymap map1 t)
2199 (define-key map "L" map1) 2199 (define-key map "L" map1)
@@ -2205,14 +2205,14 @@ See 'Electric-command-loop' for a description of STATE and CONDITION."
2205 (define-key map1 "t" 'ebrowse-display-types-member-list) 2205 (define-key map1 "t" 'ebrowse-display-types-member-list)
2206 (define-key map1 "v" 'ebrowse-display-variables-member-list) 2206 (define-key map1 "v" 'ebrowse-display-variables-member-list)
2207 (define-key map1 "V" 'ebrowse-display-static-variables-member-list)) 2207 (define-key map1 "V" 'ebrowse-display-static-variables-member-list))
2208 2208
2209 (let ((map1 (make-sparse-keymap))) 2209 (let ((map1 (make-sparse-keymap)))
2210 (suppress-keymap map1 t) 2210 (suppress-keymap map1 t)
2211 (define-key map "G" map1) 2211 (define-key map "G" map1)
2212 (define-key map1 "m" 'ebrowse-goto-visible-member/all-member-lists) 2212 (define-key map1 "m" 'ebrowse-goto-visible-member/all-member-lists)
2213 (define-key map1 "n" 'ebrowse-repeat-member-search) 2213 (define-key map1 "n" 'ebrowse-repeat-member-search)
2214 (define-key map1 "v" 'ebrowse-goto-visible-member)) 2214 (define-key map1 "v" 'ebrowse-goto-visible-member))
2215 2215
2216 (define-key map "f" 'ebrowse-find-member-declaration) 2216 (define-key map "f" 'ebrowse-find-member-declaration)
2217 (define-key map "m" 'ebrowse-switch-to-next-member-buffer) 2217 (define-key map "m" 'ebrowse-switch-to-next-member-buffer)
2218 (define-key map "q" 'bury-buffer) 2218 (define-key map "q" 'bury-buffer)
@@ -2682,7 +2682,7 @@ CLASS non-nil means display that class' title. Otherwise use
2682the class cursor is on." 2682the class cursor is on."
2683 (let ((start (point)) 2683 (let ((start (point))
2684 (tree (or class ebrowse--displayed-class)) 2684 (tree (or class ebrowse--displayed-class))
2685 class-name-start 2685 class-name-start
2686 class-name-end) 2686 class-name-end)
2687 (insert "class ") 2687 (insert "class ")
2688 (setq class-name-start (point)) 2688 (setq class-name-start (point))
@@ -2832,7 +2832,7 @@ TREE is the class tree in which the members are found."
2832 (indent-to (* i column-width)) 2832 (indent-to (* i column-width))
2833 (put-text-property start-of-column (point) 'mouse-face nil) 2833 (put-text-property start-of-column (point) 'mouse-face nil)
2834 (setq start-of-entry (point)) 2834 (setq start-of-entry (point))
2835 ;; Show various attributes 2835 ;; Show various attributes
2836 (when ebrowse--attributes-flag 2836 (when ebrowse--attributes-flag
2837 (insert "<") 2837 (insert "<")
2838 (ebrowse-draw-member-attributes member) 2838 (ebrowse-draw-member-attributes member)
@@ -3035,7 +3035,7 @@ Prefix arg INC specifies which one."
3035Prefix arg ARG says which class should be displayed. Default is 3035Prefix arg ARG says which class should be displayed. Default is
3036the first derived class." 3036the first derived class."
3037 (interactive "P") 3037 (interactive "P")
3038 (flet ((ebrowse-tree-obarray-as-alist () 3038 (flet ((ebrowse-tree-obarray-as-alist ()
3039 (loop for s in (ebrowse-ts-subclasses 3039 (loop for s in (ebrowse-ts-subclasses
3040 ebrowse--displayed-class) 3040 ebrowse--displayed-class)
3041 collect (cons (ebrowse-cs-name 3041 collect (cons (ebrowse-cs-name
@@ -3125,7 +3125,7 @@ the first derived class."
3125 ["Find in Tree" ebrowse-goto-visible-member/all-member-lists 3125 ["Find in Tree" ebrowse-goto-visible-member/all-member-lists
3126 :help "Search for a member in any class" 3126 :help "Search for a member in any class"
3127 :active t]) 3127 :active t])
3128 ("Display" 3128 ("Display"
3129 ["Inherited" ebrowse-toggle-base-class-display 3129 ["Inherited" ebrowse-toggle-base-class-display
3130 :help "Toggle display of inherited members" 3130 :help "Toggle display of inherited members"
3131 :style toggle 3131 :style toggle
@@ -3218,7 +3218,7 @@ the first derived class."
3218 :active (eq (get-text-property (point) 'ebrowse-what) 'class-name)])) 3218 :active (eq (get-text-property (point) 'ebrowse-what) 'class-name)]))
3219 3219
3220 3220
3221(easy-menu-define 3221(easy-menu-define
3222 ebrowse-member-name-object-menu ebrowse-member-mode-map 3222 ebrowse-member-name-object-menu ebrowse-member-mode-map
3223 "Object menu for member names" 3223 "Object menu for member names"
3224 '("Ebrowse" 3224 '("Ebrowse"
@@ -3275,7 +3275,7 @@ TREE-HEADER is the header structure of the class tree.
3275NAME is the name of the member. 3275NAME is the name of the member.
3276Value is an alist of elements (CLASS-NAME . (CLASS LIST NAME)), 3276Value is an alist of elements (CLASS-NAME . (CLASS LIST NAME)),
3277where each element describes one occurrence of member NAME in the tree. 3277where each element describes one occurrence of member NAME in the tree.
3278CLASS-NAME is the qualified name of the class in which the 3278CLASS-NAME is the qualified name of the class in which the
3279member was found. The CDR of the acons is described in function 3279member was found. The CDR of the acons is described in function
3280`ebrowse-class/index/member-for-member'." 3280`ebrowse-class/index/member-for-member'."
3281 (let ((table (ebrowse-member-table tree-header)) 3281 (let ((table (ebrowse-member-table tree-header))
@@ -3321,8 +3321,8 @@ from point as default. Value is a list (CLASS-NAME MEMBER-NAME)."
3321 ;; matches! It returns the name as a string. 3321 ;; matches! It returns the name as a string.
3322 (unless (setq member-info (gethash name members)) 3322 (unless (setq member-info (gethash name members))
3323 (if (y-or-n-p "No exact match found. Try substrings? ") 3323 (if (y-or-n-p "No exact match found. Try substrings? ")
3324 (setq name 3324 (setq name
3325 (or (first (ebrowse-list-of-matching-members 3325 (or (first (ebrowse-list-of-matching-members
3326 members (regexp-quote name) name)) 3326 members (regexp-quote name) name))
3327 (error "Sorry, nothing found"))) 3327 (error "Sorry, nothing found")))
3328 (error "Canceled"))) 3328 (error "Canceled")))
@@ -3583,7 +3583,7 @@ INFO describes the member. It has the form (TREE ACCESSOR MEMBER).
3583TREE is the class of the member to display. 3583TREE is the class of the member to display.
3584ACCESSOR is the accessor symbol of its member list. 3584ACCESSOR is the accessor symbol of its member list.
3585MEMBER is the member structure. 3585MEMBER is the member structure.
3586KIND is a an additional string printed in the buffer." 3586KIND is an additional string printed in the buffer."
3587 (let* ((tree (first info)) 3587 (let* ((tree (first info))
3588 (globals-p (ebrowse-globals-tree-p tree))) 3588 (globals-p (ebrowse-globals-tree-p tree)))
3589 (unless globals-p 3589 (unless globals-p
@@ -3650,7 +3650,7 @@ If STRING is the last element, return the first element as successor."
3650;;;###autoload 3650;;;###autoload
3651(defun* ebrowse-tags-complete-symbol (prefix) 3651(defun* ebrowse-tags-complete-symbol (prefix)
3652 "Perform completion on the C++ symbol preceding point. 3652 "Perform completion on the C++ symbol preceding point.
3653A second call of this function without changing point inserts the next match. 3653A second call of this function without changing point inserts the next match.
3654A call with prefix PREFIX reads the symbol to insert from the minibuffer with 3654A call with prefix PREFIX reads the symbol to insert from the minibuffer with
3655completion." 3655completion."
3656 (interactive "P") 3656 (interactive "P")
@@ -3695,7 +3695,7 @@ completion."
3695 (t 3695 (t
3696 (delete-region begin end) 3696 (delete-region begin end)
3697 (insert completion) 3697 (insert completion)
3698 3698
3699 (setf ebrowse-last-completion-location (point) 3699 (setf ebrowse-last-completion-location (point)
3700 ebrowse-last-completion-start pattern 3700 ebrowse-last-completion-start pattern
3701 ebrowse-last-completion completion 3701 ebrowse-last-completion completion
@@ -3797,7 +3797,7 @@ If regular expression is nil, repeat last search."
3797(defun ebrowse-tags-query-replace (from to) 3797(defun ebrowse-tags-query-replace (from to)
3798 "Query replace FROM with TO in all files of a class tree. 3798 "Query replace FROM with TO in all files of a class tree.
3799With prefix arg, process files of marked classes only." 3799With prefix arg, process files of marked classes only."
3800 (interactive 3800 (interactive
3801 "sTree query replace (regexp): \nsTree query replace %s by: ") 3801 "sTree query replace (regexp): \nsTree query replace %s by: ")
3802 (setq ebrowse-tags-loop-form 3802 (setq ebrowse-tags-loop-form
3803 (list 'and (list 'save-excursion 3803 (list 'and (list 'save-excursion
@@ -3868,7 +3868,7 @@ If VIEW is non-nil, view the position, otherwise find it."
3868 (t 3868 (t
3869 (unwind-protect 3869 (unwind-protect
3870 (progn 3870 (progn
3871 (push (function 3871 (push (function
3872 (lambda () 3872 (lambda ()
3873 (goto-char (ebrowse-position-point position)))) 3873 (goto-char (ebrowse-position-point position))))
3874 view-mode-hook) 3874 view-mode-hook)
@@ -3894,7 +3894,7 @@ Positions in buffers that have no file names are not saved."
3894 :file-name (buffer-file-name (marker-buffer marker)) 3894 :file-name (buffer-file-name (marker-buffer marker))
3895 :point (marker-position marker) 3895 :point (marker-position marker)
3896 :target target 3896 :target target
3897 :info info) 3897 :info info)
3898 ebrowse-position-stack)))) 3898 ebrowse-position-stack))))
3899 3899
3900 3900
@@ -4367,7 +4367,7 @@ EVENT is the mouse event."
4367 4367
4368 4368
4369(easy-menu-define 4369(easy-menu-define
4370 ebrowse-tree-buffer-class-object-menu ebrowse-tree-mode-map 4370 ebrowse-tree-buffer-class-object-menu ebrowse-tree-mode-map
4371 "Object menu for classes in the tree buffer" 4371 "Object menu for classes in the tree buffer"
4372 '("Class" 4372 '("Class"
4373 ["Functions" ebrowse-tree-command:show-member-functions 4373 ["Functions" ebrowse-tree-command:show-member-functions
@@ -4409,7 +4409,7 @@ EVENT is the mouse event."
4409 4409
4410 4410
4411(easy-menu-define 4411(easy-menu-define
4412 ebrowse-tree-buffer-object-menu ebrowse-tree-mode-map 4412 ebrowse-tree-buffer-object-menu ebrowse-tree-mode-map
4413 "Object menu for tree buffers" 4413 "Object menu for tree buffers"
4414 '("Ebrowse" 4414 '("Ebrowse"
4415 ["Filename Display" ebrowse-toggle-file-name-display 4415 ["Filename Display" ebrowse-toggle-file-name-display