diff options
| author | Dmitry Gutov | 2022-08-15 02:22:59 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2022-08-15 02:22:59 +0300 |
| commit | ee3a674c7c9e39fe7ff296ce1f9830fc45520de8 (patch) | |
| tree | e8ba1e7be54314f208454e80e3d31044c913f3eb /lisp/cedet | |
| parent | fe0e53d963899a16e0dd1bbc1ba10a6b59f7989e (diff) | |
| parent | 0a8e88fd83db5398d36064a7f87cff5b57da7284 (diff) | |
| download | emacs-scratch/font_lock_large_files.tar.gz emacs-scratch/font_lock_large_files.zip | |
Merge branch 'master' into scratch/font_lock_large_filesscratch/font_lock_large_files
Diffstat (limited to 'lisp/cedet')
| -rw-r--r-- | lisp/cedet/cedet.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/ede.el | 9 | ||||
| -rw-r--r-- | lisp/cedet/ede/emacs.el | 1 | ||||
| -rw-r--r-- | lisp/cedet/semantic.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine.el | 4 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-file.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/wisent/comp.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/srecode.el | 4 |
8 files changed, 18 insertions, 16 deletions
diff --git a/lisp/cedet/cedet.el b/lisp/cedet/cedet.el index e6befb10e91..c33ac850722 100644 --- a/lisp/cedet/cedet.el +++ b/lisp/cedet/cedet.el | |||
| @@ -25,15 +25,12 @@ | |||
| 25 | ;;; Commentary: | 25 | ;;; Commentary: |
| 26 | 26 | ||
| 27 | ;;; Code: | 27 | ;;; Code: |
| 28 | ;; | ||
| 29 | ;; This file depends on the major components of CEDET, so that you can | ||
| 30 | ;; load them all by doing (require 'cedet). This is mostly for | ||
| 31 | ;; compatibility with the upstream, stand-alone CEDET distribution. | ||
| 32 | 28 | ||
| 33 | (declare-function inversion-find-version "inversion") | 29 | (declare-function inversion-find-version "inversion") |
| 34 | 30 | ||
| 35 | (defconst cedet-version "2.0" | 31 | (defconst cedet-version "2.0" |
| 36 | "Current version of CEDET.") | 32 | "Current version of CEDET.") |
| 33 | (make-obsolete-variable 'cedet-version 'emacs-version "29.1") | ||
| 37 | 34 | ||
| 38 | (defconst cedet-packages | 35 | (defconst cedet-packages |
| 39 | `( | 36 | `( |
| @@ -45,6 +42,7 @@ | |||
| 45 | (ede "1.2" nil "ede" ) | 42 | (ede "1.2" nil "ede" ) |
| 46 | ) | 43 | ) |
| 47 | "Table of CEDET packages to install.") | 44 | "Table of CEDET packages to install.") |
| 45 | (make-obsolete-variable 'cedet-packages 'package-built-in-p "29.1") | ||
| 48 | 46 | ||
| 49 | (defvar cedet-menu-map ;(make-sparse-keymap "CEDET menu") | 47 | (defvar cedet-menu-map ;(make-sparse-keymap "CEDET menu") |
| 50 | (let ((map (make-sparse-keymap "CEDET menu"))) | 48 | (let ((map (make-sparse-keymap "CEDET menu"))) |
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el index 4ea14e33c5d..e6bfd0b1e85 100644 --- a/lisp/cedet/ede.el +++ b/lisp/cedet/ede.el | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | ;;; ede.el --- Emacs Development Environment gloss -*- lexical-binding: t; -*- | 1 | ;;; ede.el --- Emacs Development Environment gloss -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1998-2005, 2007-2022 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998-2022 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 6 | ;; Keywords: project, make | 6 | ;; Keywords: project, make |
| 7 | ;; Version: 1.2 | 7 | ;; Version: 2.0 |
| 8 | 8 | ||
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| 10 | 10 | ||
| @@ -39,6 +39,8 @@ | |||
| 39 | ;; | 39 | ;; |
| 40 | ;; (global-ede-mode t) | 40 | ;; (global-ede-mode t) |
| 41 | 41 | ||
| 42 | ;;; Code: | ||
| 43 | |||
| 42 | (require 'cedet) | 44 | (require 'cedet) |
| 43 | (require 'cl-lib) | 45 | (require 'cl-lib) |
| 44 | (require 'eieio) | 46 | (require 'eieio) |
| @@ -66,10 +68,11 @@ | |||
| 66 | 68 | ||
| 67 | (defconst ede-version "2.0" | 69 | (defconst ede-version "2.0" |
| 68 | "Current version of the Emacs EDE.") | 70 | "Current version of the Emacs EDE.") |
| 71 | (make-obsolete-variable 'ede-version 'emacs-version "29.1") | ||
| 69 | 72 | ||
| 70 | ;;; Code: | ||
| 71 | (defun ede-version () | 73 | (defun ede-version () |
| 72 | "Display the current running version of EDE." | 74 | "Display the current running version of EDE." |
| 75 | (declare (obsolete emacs-version "29.1")) | ||
| 73 | (interactive) (message "EDE %s" ede-version)) | 76 | (interactive) (message "EDE %s" ede-version)) |
| 74 | 77 | ||
| 75 | (defgroup ede nil | 78 | (defgroup ede nil |
diff --git a/lisp/cedet/ede/emacs.el b/lisp/cedet/ede/emacs.el index cbe766cedb6..c83e6873679 100644 --- a/lisp/cedet/ede/emacs.el +++ b/lisp/cedet/ede/emacs.el | |||
| @@ -80,7 +80,6 @@ ROOTPROJ is nil, since there is only one project." | |||
| 80 | ;; Doesn't already exist, so let's make one. | 80 | ;; Doesn't already exist, so let's make one. |
| 81 | (let* ((vertuple (ede-emacs-version dir))) | 81 | (let* ((vertuple (ede-emacs-version dir))) |
| 82 | (ede-emacs-project | 82 | (ede-emacs-project |
| 83 | (car vertuple) | ||
| 84 | :name (car vertuple) | 83 | :name (car vertuple) |
| 85 | :version (cdr vertuple) | 84 | :version (cdr vertuple) |
| 86 | :directory (file-name-as-directory dir) | 85 | :directory (file-name-as-directory dir) |
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index 78002dd8abc..3166279de40 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el | |||
| @@ -34,6 +34,8 @@ | |||
| 34 | ;; menu). To enable it at startup, put (semantic-mode 1) in your init | 34 | ;; menu). To enable it at startup, put (semantic-mode 1) in your init |
| 35 | ;; file. | 35 | ;; file. |
| 36 | 36 | ||
| 37 | ;;; Code: | ||
| 38 | |||
| 37 | (require 'cedet) | 39 | (require 'cedet) |
| 38 | (require 'semantic/tag) | 40 | (require 'semantic/tag) |
| 39 | (require 'semantic/lex) | 41 | (require 'semantic/lex) |
| @@ -41,6 +43,7 @@ | |||
| 41 | 43 | ||
| 42 | (defvar semantic-version "2.2" | 44 | (defvar semantic-version "2.2" |
| 43 | "Current version of Semantic.") | 45 | "Current version of Semantic.") |
| 46 | (make-obsolete-variable 'semantic-version 'emacs-version "29.1") | ||
| 44 | 47 | ||
| 45 | (declare-function inversion-test "inversion") | 48 | (declare-function inversion-test "inversion") |
| 46 | (declare-function semanticdb-load-ebrowse-caches "semantic/db-ebrowse") | 49 | (declare-function semanticdb-load-ebrowse-caches "semantic/db-ebrowse") |
| @@ -73,9 +76,6 @@ introduced." | |||
| 73 | 76 | ||
| 74 | (require 'semantic/fw) | 77 | (require 'semantic/fw) |
| 75 | 78 | ||
| 76 | ;;; Code: | ||
| 77 | ;; | ||
| 78 | |||
| 79 | ;;; Variables and Configuration | 79 | ;;; Variables and Configuration |
| 80 | ;; | 80 | ;; |
| 81 | (defvar-local semantic--parse-table nil | 81 | (defvar-local semantic--parse-table nil |
diff --git a/lisp/cedet/semantic/bovine.el b/lisp/cedet/semantic/bovine.el index 1e52b1f8504..a6cf8d89a4f 100644 --- a/lisp/cedet/semantic/bovine.el +++ b/lisp/cedet/semantic/bovine.el | |||
| @@ -143,14 +143,14 @@ list of semantic tokens found." | |||
| 143 | cvl nil ;re-init the collected value list. | 143 | cvl nil ;re-init the collected value list. |
| 144 | lte (car matchlist) ;Get the local matchlist entry. | 144 | lte (car matchlist) ;Get the local matchlist entry. |
| 145 | ) | 145 | ) |
| 146 | (if (or (byte-code-function-p (car lte)) | 146 | (if (or (compiled-function-p (car lte)) |
| 147 | (listp (car lte))) | 147 | (listp (car lte))) |
| 148 | ;; In this case, we have an EMPTY match! Make | 148 | ;; In this case, we have an EMPTY match! Make |
| 149 | ;; stuff up. | 149 | ;; stuff up. |
| 150 | (setq cvl (list nil)))) | 150 | (setq cvl (list nil)))) |
| 151 | 151 | ||
| 152 | (while (and lte | 152 | (while (and lte |
| 153 | (not (byte-code-function-p (car lte))) | 153 | (not (compiled-function-p (car lte))) |
| 154 | (not (listp (car lte)))) | 154 | (not (listp (car lte)))) |
| 155 | 155 | ||
| 156 | ;; GRAMMAR SOURCE DEBUGGING! | 156 | ;; GRAMMAR SOURCE DEBUGGING! |
diff --git a/lisp/cedet/semantic/db-file.el b/lisp/cedet/semantic/db-file.el index d00ab47ce69..e2c9d618ba2 100644 --- a/lisp/cedet/semantic/db-file.el +++ b/lisp/cedet/semantic/db-file.el | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | (require 'cedet-files) | 29 | (require 'cedet-files) |
| 30 | (require 'data-debug) | 30 | (require 'data-debug) |
| 31 | 31 | ||
| 32 | (defvar semanticdb-file-version semantic-version | 32 | (defvar semanticdb-file-version "2.2" |
| 33 | "Version of semanticdb we are writing files to disk with.") | 33 | "Version of semanticdb we are writing files to disk with.") |
| 34 | (defvar semanticdb-file-incompatible-version "1.4" | 34 | (defvar semanticdb-file-incompatible-version "1.4" |
| 35 | "Version of semanticdb we are not reverse compatible with.") | 35 | "Version of semanticdb we are not reverse compatible with.") |
diff --git a/lisp/cedet/semantic/wisent/comp.el b/lisp/cedet/semantic/wisent/comp.el index 17cd3b1d59a..e24f6128a68 100644 --- a/lisp/cedet/semantic/wisent/comp.el +++ b/lisp/cedet/semantic/wisent/comp.el | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | ;;; Code: | 38 | ;;; Code: |
| 39 | (require 'semantic/wisent) | 39 | (require 'semantic/wisent) |
| 40 | (eval-when-compile (require 'cl-lib)) | 40 | (eval-when-compile (require 'cl-lib)) |
| 41 | (eval-when-compile (require 'subr-x)) ; `string-pad' | 41 | (require 'subr-x) ; `string-pad' |
| 42 | 42 | ||
| 43 | ;;;; ------------------- | 43 | ;;;; ------------------- |
| 44 | ;;;; Misc. useful things | 44 | ;;;; Misc. useful things |
diff --git a/lisp/cedet/srecode.el b/lisp/cedet/srecode.el index 7c054d4c100..9691f906a4c 100644 --- a/lisp/cedet/srecode.el +++ b/lisp/cedet/srecode.el | |||
| @@ -37,14 +37,16 @@ | |||
| 37 | ;; | 37 | ;; |
| 38 | ;; See the srecode manual for specific details. | 38 | ;; See the srecode manual for specific details. |
| 39 | 39 | ||
| 40 | ;;; Code: | ||
| 41 | |||
| 40 | (require 'eieio) | 42 | (require 'eieio) |
| 41 | (require 'mode-local) | 43 | (require 'mode-local) |
| 42 | (load "srecode/loaddefs" nil 'nomessage) | 44 | (load "srecode/loaddefs" nil 'nomessage) |
| 43 | 45 | ||
| 44 | (defvar srecode-version "1.2" | 46 | (defvar srecode-version "1.2" |
| 45 | "Current version of the Semantic Recoder.") | 47 | "Current version of the Semantic Recoder.") |
| 48 | (make-obsolete-variable 'srecode-version 'emacs-version "29.1") | ||
| 46 | 49 | ||
| 47 | ;;; Code: | ||
| 48 | (defgroup srecode nil | 50 | (defgroup srecode nil |
| 49 | "Semantic Recoder." | 51 | "Semantic Recoder." |
| 50 | :group 'extensions | 52 | :group 'extensions |