unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57489: Correctly set 'recentf-exclude' in 'semantic-find-file-noselect'
@ 2022-08-30 13:34 ookami via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-31 10:10 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: ookami via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-30 13:34 UTC (permalink / raw)
  To: 57489

'recentf-exclude' is supposed to be a list, but was set to a symbol in
'semantic-find-file-noselect'

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] 2+ messages in thread

* bug#57489: Correctly set 'recentf-exclude' in 'semantic-find-file-noselect'
  2022-08-30 13:34 bug#57489: Correctly set 'recentf-exclude' in 'semantic-find-file-noselect' ookami via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-31 10:10 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-31 10:10 UTC (permalink / raw)
  To: ookami; +Cc: 57489

"ookami" <mail@ookami.one> writes:

> 'recentf-exclude' is supposed to be a list, but was set to a symbol in
> 'semantic-find-file-noselect'

Thanks; pushed to Emacs 29.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-31 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 13:34 bug#57489: Correctly set 'recentf-exclude' in 'semantic-find-file-noselect' ookami via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-31 10:10 ` Lars Ingebrigtsen

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).