[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] minor mode recentf: show only *.tex and *.org files?!
From: |
Nicolas Richard |
Subject: |
Re: [O] minor mode recentf: show only *.tex and *.org files?! |
Date: |
Tue, 25 Jun 2013 14:39:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130519 Thunderbird/17.0.6 |
Le 25/06/2013 14:30, AW a écrit :
> (setq recentf-exclude '(
> "/diary[0-9]\{4\}[a-zA-Z]\{2,4\}$"
> ))
You have to double the backslashes. Reason is that when lisp reads the
string, it translates it into
/diary[0-9]{4}[a-zA-Z]{2,4}$
which is not the regexp you want.
--
Nico.