unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "ookami" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 57488@debbugs.gnu.org
Subject: bug#57488: Correctly set 'recentf-exclude' in 'semantic-find-file-noselect'
Date: Tue, 30 Aug 2022 20:41:40 +0800	[thread overview]
Message-ID: <CMJDDGKP5E6O.3RB21YULPYWAJ@archlinux> (raw)

'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	other threads:[~2022-08-30 12:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CMJDDGKP5E6O.3RB21YULPYWAJ@archlinux \
    --to=bug-gnu-emacs@gnu.org \
    --cc=57488@debbugs.gnu.org \
    --cc=mail@ookami.one \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).