emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] renaming of ob-sh to ob-shell


From: Nicolas Richard
Subject: Re: [O] renaming of ob-sh to ob-shell
Date: Sat, 01 Feb 2014 17:12:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Thorsten Jolitz <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]