emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Possible regexp bug in org.el


From: Thorsten Jolitz
Subject: [O] Possible regexp bug in org.el
Date: Tue, 01 Apr 2014 11:46:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi List, 

here is a possible regexp bug in org.el I discovered by accident:

,---------------------------------------------
| 7734:       (and (not (looking-back "^\*+"))
`---------------------------------------------

#+begin_src emacs-lisp
(and (not (looking-back "^\*+")) ; missing backslash?
 (looking-at "[ \t]+") (replace-match ""))
(unless (eobp) (forward-char 1))
(when (looking-at "^\\*")
#+end_src

-- 
cheers,
Thorsten




reply via email to

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