From 1fa1b1f0b3b0bc5f8ca0cd6cbb90420c333951d3 Mon Sep 17 00:00:00 2001 From: Jeremie Dimino Date: Mon, 12 Jan 2015 09:36:54 +0000 Subject: [PATCH] simplify utop-compat-resolve No need to try loading one of the major mode as utop-mode is now a minor mode and has to be used in conjunction with the current major mode of the buffer. --- src/top/utop.el | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/top/utop.el b/src/top/utop.el index 84c9d7b..9dd2101 100644 --- a/src/top/utop.el +++ b/src/top/utop.el @@ -245,12 +245,6 @@ Caml toplevel") (intern (concat "typerex-" symbol))) ((eq major-mode 'caml-mode) (intern (concat "caml-" symbol))) - ((require 'tuareg nil t) - (intern (concat "tuareg-" symbol))) - ((require 'typerex nil t) - (intern (concat "typerex-" symbol))) - ((require 'caml nil t) - (intern (concat "caml-" symbol))) (error (concat "unsupported mode: " (symbol-name major-mode) ", utop support only caml, tuareg and typerex modes")))) (defun compat-skip-blank-and-comments ()