unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jari Aalto <jari.aalto@cante.net>
To: Emacs bug BTS <submit@emacsbugs.donarmstrong.com>
Subject: bug#4491: [PATCH] Emacs CVS lisp/ido.el: (ido-everywhere): Add autoload stanza
Date: Sat, 19 Sep 2009 23:18:47 +0300	[thread overview]
Message-ID: <87fxaiit7c.fsf@jondo.cante.net> (raw)

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

Tags: patch

The ducumentation suggests user command, but it is not available by
default.

    ido.el

    ;; To use ido for all buffer and file selections in Emacs, customize the
    ;; variable `ido-everywhere'.
    ...

    (defcustom ido-everywhere nil
      "Use ido everywhere for reading file names and directories.
    Setting this variable directly does not work.  Use `customize' or
    call the function `ido-everywhere'."
>>  =====================================

2009-09-19  Jari Aalto  <jari.aalto@cante.net>

        * ido.el (ido-everywhere): Add autoload stanza.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-ido.el-ido-everywhere-Add-autoload-stanza.patch --]
[-- Type: text/x-diff, Size: 792 bytes --]

From 7c7df3898ebd236630585c6d1b3a059c22998dee Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Sat, 19 Sep 2009 12:40:56 +0300
Subject: [PATCH] lisp/ido.el: (ido-everywhere): Add autoload stanza

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 lisp/ido.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lisp/ido.el b/lisp/ido.el
index 2336fea..6252bab 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -1513,6 +1513,7 @@ This function also adds a hook to the minibuffer."
   (message "Ido mode %s" (if ido-mode "enabled" "disabled")))
 
 
+;;;###autoload
 (defun ido-everywhere (arg)
   "Toggle using ido speed-ups everywhere file and directory names are read.
 With ARG, turn ido speed-up on if arg is positive, off otherwise."
-- 
1.6.3.3


             reply	other threads:[~2009-09-19 20:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-19 20:18 Jari Aalto [this message]
2009-09-20 14:46 ` bug#4491: [PATCH] Emacs CVS lisp/ido.el: (ido-everywhere): Add autoload stanza Stefan Monnier
2009-09-20 16:06   ` Jari Aalto
2009-09-20 17:32     ` Leo
2009-09-20 18:20     ` Stefan Monnier
2009-09-20 18:53       ` Jari Aalto
2009-09-20 18:58       ` Leo
2011-07-13 13:52       ` Lars Magne Ingebrigtsen

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=87fxaiit7c.fsf@jondo.cante.net \
    --to=jari.aalto@cante.net \
    --cc=4491@emacsbugs.donarmstrong.com \
    --cc=submit@emacsbugs.donarmstrong.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 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).