From d6b8c85b26b58e2786a9c5a589336c931e9dba1f Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 9 Oct 2000 01:59:03 +0000 Subject: [PATCH] Maintainer line updated. (tags-table-format-functions): Renamed from tags-table-format-hooks. --- lisp/ChangeLog | 41 +++++++++++++++++++++++++++++++++++++++++ lisp/progmodes/etags.el | 7 ++++--- 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bc812e24830..38c6833733b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -16,6 +16,47 @@ * mouse.el (popup-menu): Balance parens. +2000-10-08 Stefan Monnier + + * mouse.el (popup-menu): Move the command call outside the loop + so that popup-menu returns whatever the command returns. + + * progmodes/etags.el: Docstring fixes. Maintainer line updated. + (initialize-new-tags-table): Use run-hook-with-args-until-success. + (find-tag): Use pop-to-buffer if switch-to-buffer failed. + (tags-table-format-functions): Renamed from tags-table-format-hooks. + + * vc.el (vc-version-diff): diff-switches can be a list. + Use relative filenames for prettier output. + + * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice) + (vc-post-command-functions): Remove old-VC compatibility code. + + * newcomment.el (comment-indent-default): Autoload. + + * font-lock.el (font-lock-defaults): Make buffer-local. + (font-lock-turn-on-thing-lock): Use jit-lock-refontify. + (font-lock-choose-keywords): + Ignore LEVEL unless KEYWORDS is a list of syms. + (c-keywords, c++-keywords, objc-keywords, java-keywords): + Don't wrap regexp-opt things in \(...\) unnecessarily. + + * jit-lock.el: Don't require font-lock any more. + (jit-lock-functions): Make buffer-local. + (jit-lock-saved-fontify-buffer-function): Remove. + (jit-lock-mode): Remove autoload cookie. + Remove font-lock specific code. + (jit-lock-unregister): Don't bother handling complex hooks any more. + (jit-lock-refontify): New function. + (jit-lock-fontify-buffer): Use it. + (jit-lock-function-1): Replaced by jit-lock-fontify-now. + (jit-lock-fontify-now): Renamed from jit-lock-function-1. + Add optional args START and END. + Never call font-lock-fontify-region directly. + (jit-lock-function, jit-lock-stealth-fontify): Use it. + + * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'. + 2000-10-08 Dave Love * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map. diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index b7dff737c34..610b225a7da 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -3,6 +3,7 @@ ;; Free Software Foundation, Inc. ;; Author: Roland McGrath +;; Maintainer: FSF ;; Keywords: tools ;; This file is part of GNU Emacs. @@ -190,8 +191,8 @@ nil means it has not yet been computed; use `tags-table-files' to do so.") ;; Hooks for file formats. -(defvar tags-table-format-hooks '(etags-recognize-tags-table - tags-recognize-empty-tags-table) +(defvar tags-table-format-functions '(etags-recognize-tags-table + tags-recognize-empty-tags-table) "Hook to be called in a tags table buffer to identify the type of tags table. The functions are called in order, with no arguments, until one returns non-nil. The function should make buffer-local bindings @@ -242,7 +243,7 @@ One argument, the tag info returned by `snarf-tag-function'.") ;; are global. ;; Value is t if we have found a valid tags table buffer. - (run-hook-with-args-until-success 'tags-table-format-hooks)) + (run-hook-with-args-until-success 'tags-table-format-functions)) ;;;###autoload (defun visit-tags-table (file &optional local) -- 2.39.2