unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yoni Rabkin <yoni@rabkins.net>
To: emacs-devel@gnu.org
Subject: eww.el: autoload eww-list-bookmarks
Date: Thu, 23 Oct 2014 13:36:12 -0400	[thread overview]
Message-ID: <87fvee3cz7.fsf@rabkins.net> (raw)

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


In EWW (eww.el) `eww-list-bookmarks' should be autoloaded. It's a valid
entry point to start using EWW (it's certainly how I use it) and
shouldn't depend on someone calling M-x eww beforehand.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-net-eww.el-autoload-eww-list-bookmarks.patch --]
[-- Type: text/x-diff, Size: 714 bytes --]

From 58f2d46499b1e598cb47cca4ae4b7c5d836a1a09 Mon Sep 17 00:00:00 2001
From: Yoni Rabkin <yrk@gnu.org>
Date: Wed, 22 Oct 2014 21:06:56 -0400
Subject: [PATCH] * lisp/net/eww.el: autoload eww-list-bookmarks.

eww-list-bookmarks is a valid entry point and shouldn't depend on eww
being called.
---
 lisp/net/eww.el |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 3329c32..e6a3028 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -1135,6 +1135,7 @@ Differences in #targets are ignored."
 	      (insert-file-contents file)
 	      (read (current-buffer)))))))
 
+;;;###autoload
 (defun eww-list-bookmarks ()
   "Display the bookmarks."
   (interactive)
-- 
1.7.9.5


[-- Attachment #3: Type: text/plain, Size: 56 bytes --]



-- 
   "Cut your own wood and it will warm you twice"

             reply	other threads:[~2014-10-23 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-23 17:36 Yoni Rabkin [this message]
2014-11-03 13:23 ` eww.el: autoload eww-list-bookmarks Ted Zlatanov
2014-11-03 13:31   ` Yoni Rabkin

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=87fvee3cz7.fsf@rabkins.net \
    --to=yoni@rabkins.net \
    --cc=emacs-devel@gnu.org \
    /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).