unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57488: Correctly set 'recentf-exclude' in 'semantic-find-file-noselect'
@ 2022-08-30 12:41 ookami via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; only message in thread
From: ookami via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-30 12:41 UTC (permalink / raw)
  To: 57488

'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






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-30 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-30 12:41 bug#57488: Correctly set 'recentf-exclude' in 'semantic-find-file-noselect' ookami via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).