changeset 28542:9e9fa222ebcf

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Mon, 10 Apr 2000 13:43:06 +0000
parents f0c234df148e
children fffea6f87a34
files lisp/ChangeLog lisp/loaddefs.el lisp/progmodes/ebrowse-ffh.el src/ChangeLog
diffstat 4 files changed, 17 insertions(+), 63 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Apr 10 13:35:34 2000 +0000
+++ b/lisp/ChangeLog	Mon Apr 10 13:43:06 2000 +0000
@@ -1,3 +1,16 @@
+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.
--- a/lisp/loaddefs.el	Mon Apr 10 13:35:34 2000 +0000
+++ b/lisp/loaddefs.el	Mon Apr 10 13:43:06 2000 +0000
@@ -4876,16 +4876,10 @@
 
 ;;;### (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 @@
 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)
@@ -4917,19 +4911,6 @@
 
 ;;;***
 
-;;;### (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"
 ;;;;;;  (13778 5499))
 ;;; Generated autoloads from ebuff-menu.el
@@ -8863,7 +8844,7 @@
 ;;;***
 
 ;;;### (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" "\
--- a/lisp/progmodes/ebrowse-ffh.el	Mon Apr 10 13:35:34 2000 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-;;; 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)
-
-
Binary file src/ChangeLog has changed