Thorsten Jolitz <tjol...@gmail.com> writes:
> I meant 
>
> ,-----------------
> | (provide 'ob-sh)
> | (provide 'ob-shell)
> `-----------------
>
> of course ...

I guess that that would indeed avoid loading an older ob-sh.el. Perhaps
together with something like
(mapc
 (lambda (x)
   (when (member '(require . ob-sh) x)
     (warn "`ob-sh' was required by %s and is deprecated, please check"
           (car x))))
  load-history)

Result is a warning like this:
Warning (emacs): `ob-sh' was required by /path/to/file.el and is deprecated, 
please check

-- 
Nico.

Reply via email to