Remove some compat code from CEDET
* lisp/cedet/semantic.el (pp): * lisp/cedet/semantic/complete.el (initialize-instance): Remove old-Emacs compat code.
This commit is contained in:
parent
53774c4532
commit
a3726f057b
2 changed files with 2 additions and 6 deletions
|
@ -368,8 +368,7 @@ to use Semantic, and `semantic-init-hook' is run."
|
|||
|
||||
;;; Parsing Commands
|
||||
;;
|
||||
(eval-when-compile
|
||||
(condition-case nil (require 'pp) (error nil)))
|
||||
(require 'pp)
|
||||
|
||||
(defvar semantic-edebug nil
|
||||
"When non-nil, activate the interactive parsing debugger.
|
||||
|
|
|
@ -1666,10 +1666,7 @@ Display mechanism using tooltip for a list of possible completions.")
|
|||
|
||||
(cl-defmethod initialize-instance :after ((obj semantic-displayer-tooltip) &rest args)
|
||||
"Make sure we have tooltips required."
|
||||
(condition-case nil
|
||||
(require 'tooltip)
|
||||
(error nil))
|
||||
)
|
||||
(require 'tooltip))
|
||||
|
||||
(defvar tooltip-mode)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue