summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/cedet/semantic.el3
-rw-r--r--lisp/cedet/semantic/complete.el5
2 files changed, 2 insertions, 6 deletions
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el
index 0b878cae525..7d5017c6209 100644
--- a/lisp/cedet/semantic.el
+++ b/lisp/cedet/semantic.el
@@ -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.
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el
index 14d2bd38ee8..29f33d4a10b 100644
--- a/lisp/cedet/semantic/complete.el
+++ b/lisp/cedet/semantic/complete.el
@@ -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)