From: Stefan Monnier Date: Sun, 22 May 2022 16:22:40 +0000 (-0400) Subject: semantic-install-function-overrides: Declare obsolete X-Git-Tag: emacs-29.0.90~1910^2~514 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2e0d1452b976a51579cf044257326850804c562;p=emacs.git semantic-install-function-overrides: Declare obsolete * lisp/cedet/semantic/fw.el (semantic-install-function-overrides): Declare obsolete. --- diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el index b7c3461a4d7..14ed3e97ed5 100644 --- a/lisp/cedet/semantic/fw.el +++ b/lisp/cedet/semantic/fw.el @@ -277,6 +277,7 @@ If optional argument MODE is non-nil, it must be a major mode symbol. OVERRIDES will be installed globally for this major mode. If MODE is nil, OVERRIDES will be installed locally in the current buffer. This later installation should be done in MODE hook." + (declare (obsolete define-mode-local-override "29.1")) (mode-local-bind ;; Add the semantic- prefix to OVERLOAD short names. (mapcar diff --git a/lisp/cedet/semantic/grammar.el b/lisp/cedet/semantic/grammar.el index 74d4a229fac..d8cf6b2004a 100644 --- a/lisp/cedet/semantic/grammar.el +++ b/lisp/cedet/semantic/grammar.el @@ -880,7 +880,7 @@ Lisp code." (unless (derived-mode-p 'emacs-lisp-mode) (emacs-lisp-mode)) -;;;; Header + Prologue + ;; Header + Prologue (insert header " \n;;; Prologue\n;;\n" @@ -892,7 +892,7 @@ Lisp code." (save-excursion -;;;; Declarations + ;; Declarations (insert " \n;;; Declarations\n;;\n") @@ -927,12 +927,12 @@ Lisp code." (semantic-grammar-setup-data)) "Setup the Semantic Parser.") -;;;; Analyzers + ;; Analyzers (insert " \n;;; Analyzers\n;;\n") (semantic-grammar-insert-defanalyzers) -;;;; Epilogue & Footer + ;; Epilogue & Footer (insert " \n;;; Epilogue\n;;\n" epilogue @@ -967,7 +967,7 @@ Lisp code." ;; have created this language for, and force them to call our ;; setup function again, refreshing all semantic data, and ;; enabling them to work with the new code just created. -;;;; FIXME? + ;; FIXME? ;; At this point, I don't know any user's defined setup code :-( ;; At least, what I can do for now, is to run the generated ;; parser-install function.