[Top][All Lists]

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

[O] [PATCH] ob-core: check argument to goto-char

From: Eike
Subject: [O] [PATCH] ob-core: check argument to goto-char
Date: Sat, 30 Apr 2016 13:05:40 +0200
User-agent: mu4e 0.9.16; emacs 24.5.2


I have some code that uses `org-babel-insert-result' and I've found that
evaluating for example

   (org-babel-insert-result "a")

results in an error. The reason is that `goto-char' is called with a nil
argument. I simply put the snippet in a `when' clause, but since the
function is quite large I'm not so sure if it's now doing always the
correct thing. At least my org files seem still to work….

I've added the patch in case it is ok to be applied. Maybe someone can
have a look at it.

Thanks and regards

Attachment: signature.asc
Description: PGP signature

Attachment: 0001-ob-core-check-argument-to-goto-char.patch
Description: Text Data

gpg: AD7AC35E
finger print: 137F BB0B 1639 D25F DC5D E59C B412 C5F5 AD7A C35E

reply via email to

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