Commit 1a1b1895 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

*** empty log message ***

parent 86b58346
2000-04-10 Gerd Moellmann <gerd@gnu.org>
* files.el (auto-mode-alist): Add `EBROWSE'.
* progmodes/ebrowse.el (ebrowse-read): Skip forward over white
space before testing for end of buffer.
(ebrowse-load): Removed.
(ebrowse-revert-tree-buffer-from-file): Rewritten.
(ebrowse-create-tree-buffer): Rewritten.
(ebrowse-tree-mode): Read tree from buffer.
* progmodes/ebrowse-ffh.el: Removed.
2000-04-10 Kenichi Handa <handa@etl.go.jp>
* language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
......
......@@ -4876,16 +4876,10 @@ It returns the old style symbol." t nil)
;;;### (autoloads (ebrowse-save-tree-as ebrowse-tags-query-replace
;;;;;; ebrowse-tags-loop-continue ebrowse-tags-complete-symbol ebrowse-electric-choose-tree
;;;;;; ebrowse-tree-mode ebrowse-load) "ebrowse" "progmodes/ebrowse.el"
;;;;;; (14576 57912))
;;;;;; ebrowse-tree-mode) "ebrowse" "progmodes/ebrowse.el" (14577
;;;;;; 54346))
;;; Generated autoloads from progmodes/ebrowse.el
 
(autoload (quote ebrowse-load) "ebrowse" "\
Load an Ebrowse file FILE into memory and make a tree buffer.
Optional SWITCH non-nil means switch to the tree buffer afterwards.
This function is normally called from a `find-file-hook'.
Value is the tree buffer created." nil nil)
(autoload (quote ebrowse-tree-mode) "ebrowse" "\
Major mode for Ebrowse class tree buffers.
Each line corresponds to a class in a class tree.
......@@ -4894,7 +4888,7 @@ File operations in the tree buffer work on class tree data structures.
E.g.\\[save-buffer] writes the tree to the file it was loaded from.
 
Tree mode key bindings:
\\{ebrowse-tree-mode-map}" nil nil)
\\{ebrowse-tree-mode-map}" t nil)
 
(autoload (quote ebrowse-electric-choose-tree) "ebrowse" "\
Return a buffer containing a tree or nil if no tree found or canceled." t nil)
......@@ -4915,19 +4909,6 @@ Write the current tree data structure to a file.
Read the file name from the minibuffer if interactive.
Otherwise, FILE-NAME specifies the file to save the tree in." t nil)
 
;;;***
;;;### (autoloads (ebrowse-find-file-hook-fn) "ebrowse-ffh" "progmodes/ebrowse-ffh.el"
;;;;;; (14576 58508))
;;; Generated autoloads from progmodes/ebrowse-ffh.el
(autoload (quote ebrowse-find-file-hook-fn) "ebrowse-ffh" "\
Function installed on `find-file-hooks'.
Load an Ebrowse class tree when there's special signature at
the beginning of the file." nil nil)
(add-hook (quote find-file-hooks) (quote ebrowse-find-file-hook-fn))
;;;***
;;;### (autoloads (electric-buffer-list) "ebuff-menu" "ebuff-menu.el"
......@@ -8863,7 +8844,7 @@ If non-nil, second arg INITIAL-INPUT is a string to insert before reading." nil
;;;***
;;;### (autoloads (turn-on-jit-lock jit-lock-mode) "jit-lock" "jit-lock.el"
;;;;;; (14571 7073))
;;;;;; (14577 45436))
;;; Generated autoloads from jit-lock.el
 
(autoload (quote jit-lock-mode) "jit-lock" "\
......
;;; ebrowsehook.el --- Find file hook for ebrowse.el
;; Copyright (C) 2000 Free Software Foundation Inc.
;; Author: Gerd Moellmann <gerd@gnu.org>
;; Maintainer: FSF
;; Keywords: C++ tags tools
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; 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, 675 Mass Ave, Cambridge, MA 02139, USA.
;;; Commentary:
;;; Code:
;;;###autoload
(defun ebrowse-find-file-hook-fn ()
"Function installed on `find-file-hooks'.
Load an Ebrowse class tree when there's special signature at
the beginning of the file."
(when (looking-at "\\[ebrowse-hs")
(ebrowse-load buffer-file-name)))
;;;###autoload
(add-hook 'find-file-hooks 'ebrowse-find-file-hook-fn)
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment