all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: "T.V Raman" <raman@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: dired-x: Add autoload cookie to dired-omit-mode?
Date: Sat, 29 Aug 2020 11:43:04 -0700	[thread overview]
Message-ID: <CADwFkmmX5o9t37YfZsdpAgbySd3Tn+cUPakaRuzPguFRSPcUyg@mail.gmail.com> (raw)
In-Reply-To: <p915z91if6l.fsf@google.com>

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

"T.V Raman" <raman@google.com> writes:

> that would work for me too:-)

While we await volunteers to help with that, I see no reason not to add
such an autoload cookie if it helps users.

Any objections to the attached patch?

[-- Attachment #2: 0001-lisp-dired-x.el-dired-omit-mode-Add-autoload-cookie.patch --]
[-- Type: text/x-diff, Size: 669 bytes --]

From 650c50adc9b47d7d2811bd39f8f2a5ab9d9fd83b Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Sat, 29 Aug 2020 20:18:19 +0200
Subject: [PATCH] * lisp/dired-x.el (dired-omit-mode): Add autoload cookie.

---
 lisp/dired-x.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 873d586ca1..05c5a70422 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -137,6 +137,7 @@ dired-omit-case-fold-p
       (file-name-case-insensitive-p dir)
     dired-omit-case-fold))
 
+;;;###autoload
 (define-minor-mode dired-omit-mode
   "Toggle omission of uninteresting files in Dired (Dired-Omit mode).
 
-- 
2.28.0


  reply	other threads:[~2020-08-29 18:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-29 14:05 dired-x: Add autoload cookie to dired-omit-mode? T.V Raman
2020-08-29 14:17 ` Stefan Kangas
2020-08-29 16:34   ` T.V Raman
2020-08-29 18:43     ` Stefan Kangas [this message]
2020-08-29 19:22       ` T.V Raman
2020-08-29 20:23       ` Drew Adams
2020-08-31 14:05       ` Stefan Kangas
2020-08-29 17:42   ` Drew Adams

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

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

  git send-email \
    --in-reply-to=CADwFkmmX5o9t37YfZsdpAgbySd3Tn+cUPakaRuzPguFRSPcUyg@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=raman@google.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.