X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/eefa91dbc077bec47247a7c32fe5d136323360ff..3ccc1742ba32bf118c15d19b639032fbf503fcea:/lisp/cedet/semantic/tag-file.el diff --git a/lisp/cedet/semantic/tag-file.el b/lisp/cedet/semantic/tag-file.el index 70d6b9cd68..17fd3b4535 100644 --- a/lisp/cedet/semantic/tag-file.el +++ b/lisp/cedet/semantic/tag-file.el @@ -1,7 +1,6 @@ ;;; semantic/tag-file.el --- Routines that find files based on tags. -;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, -;; 2009 Free Software Foundation, Inc. +;; Copyright (C) 1999-2005, 2007-2011 Free Software Foundation, Inc. ;; Author: Eric M. Ludlam ;; Keywords: syntax @@ -32,7 +31,7 @@ (declare-function semanticdb-table-child-p "semantic/db" t t) (declare-function semanticdb-get-buffer "semantic/db") (declare-function semantic-dependency-find-file-on-path "semantic/dep") -(declare-function ede-toplevel "ede/files") +(declare-function ede-toplevel "ede/base") ;;; Code: @@ -193,12 +192,10 @@ file prototypes belong in." (:override ;; Perform some default behaviors (if (and (fboundp 'ede-header-file) ede-minor-mode) - (save-excursion - (set-buffer buffer) + (with-current-buffer buffer (ede-header-file)) ;; No EDE options for a quick answer. Search. - (save-excursion - (set-buffer buffer) + (with-current-buffer buffer (if (re-search-forward "::Header:: \\([a-zA-Z0-9.]+\\)" nil t) (match-string 1)))))) @@ -213,9 +210,7 @@ file prototypes belong in." ;; Local variables: ;; generated-autoload-file: "loaddefs.el" -;; generated-autoload-feature: semantic/loaddefs ;; generated-autoload-load-name: "semantic/tag-file" ;; End: -;; arch-tag: 71d4cf18-c1ec-414c-bb0a-c2ed914c1361 ;;; semantic/tag-file.el ends here