[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Fix uncaught error when trying to open a link at point
From: |
Samuel Loury |
Subject: |
[O] [PATCH] Fix uncaught error when trying to open a link at point |
Date: |
Thu, 22 Nov 2012 09:42:00 +0100 |
User-agent: |
Notmuch/0.13.2 (http://notmuchmail.org) Emacs/24.3.50.2 (x86_64-unknown-linux-gnu) |
0001-Fix-the-uncaught-exception-when-doing-opening-a-link.patch
Description: Text Data
Hi,
When trying to open a link at point when no link is present, an
error is thrown. Test for instance to call org-open-at-point (C-c C-o)
while in an empty line.
It is in fact a regression coming from
ad35e2ac6c6decae55dd987be738e07e7c87bd7d that tries to go to the result
of a org-in-regexp call without checking whether the result is empty.
Here is a patch that keeps the idea from
ad35e2ac6c6decae55dd987be738e07e7c87bd7d (avoiding matching an
org-plain-link-re while it is in fact a org-bracket-link-regexp) and
fixing the problem.
--
Samuel
pgpN3Y0WKXFhJ.pgp
Description: PGP signature
- [O] [PATCH] Fix uncaught error when trying to open a link at point,
Samuel Loury <=