[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] What happened to `org-end-of-meta-data-and-drawers'?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] What happened to `org-end-of-meta-data-and-drawers'? |
Date: |
Sat, 06 Feb 2016 00:29:31 +0100 |
Hello,
Thorsten Jolitz <address@hidden> writes:
> Hi List,
> again an Org function I used in one of my libraries has disappeared.
>
> ,----
> | org-dp-lib.el:483:1:Warning: the function `org-end-of-meta-data-and-drawers'
> | is not known to be defined.
> `----
>
> Two related questions:
>
> - is there a replacement?
(org-end-of-meta-data t)
> - using Magit, how can I investigate the fate of such a lost function
> without investing too much time and effort?
You can do a regexp search in commit messages :
l =g org-end-of-meta-data
> Another rather unrelated question:
> Byte-compiling files that require package cl, I always get one of two
> errors:
> - using (require 'cl), I get
>
> ,----
> | org-dp.el:172:1:Warning: cl package required at runtime
> `----
>
> - but, when I correctly use (eval-when-compile (require 'cl)), I see
> several of these:
>
> ,----
> | org-dp-lib.el:275:40:Warning: function `remove-duplicates' from cl package
> | called at runtime
> `----
>
> How to avoid both kinds of warnings? I'm probably not really up-to-date
> here ...
If you plan to base your work off master, you can as well use
(require 'cl-lib)
Regards,
--
Nicolas Goaziou