bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#57488: Correctly set 'recentf-exclude' in 'semantic-find-file-nosele


From: ookami
Subject: bug#57488: Correctly set 'recentf-exclude' in 'semantic-find-file-noselect'
Date: Tue, 30 Aug 2022 20:41:40 +0800

'recentf-exclude' is supposed to be a list of function or regexp,
instead of a symbol.

>From c4d72879e4f1892d6fad558dbaeda932fe9af6ee Mon Sep 17 00:00:00 2001
From: ookami <mail@ookami.one>
Date: Tue, 30 Aug 2022 20:39:57 +0800
Subject: [PATCH] Correctly set 'recentf-exclude' in
 'semantic-find-file-noselect'

---
 lisp/cedet/semantic/fw.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el
index 113323cb33..2aa1b9ee08 100644
--- a/lisp/cedet/semantic/fw.el
+++ b/lisp/cedet/semantic/fw.el
@@ -339,7 +339,7 @@ semantic-find-file-noselect
   "Call `find-file-noselect' with various features turned off.
 Use this when referencing a file that will be soon deleted.
 FILE, NOWARN, RAWFILE, and WILDCARDS are passed into `find-file-noselect'."
-  (let* ((recentf-exclude #'always)
+  (let* ((recentf-exclude '( always ))
         ;; This is a brave statement.  Don't waste time loading in
         ;; lots of modes.  Especially decoration mode can waste a lot
         ;; of time for a buffer we intend to kill.
-- 
2.37.2






reply via email to

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