unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ivan Kanis <ivan@kanis.fr>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Emacs Development List <emacs-devel@gnu.org>
Subject: [PATCH] autoload eww-browse-url
Date: Fri, 28 Jun 2013 09:08:07 +0200	[thread overview]
Message-ID: <8761wypvag.fsf@kanis.fr> (raw)

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

Lars,

Trivial patch. I get the error when clicking on a link in gnus before
eww is loaded.

Ivan


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-autoload-eww-browse-url.patch --]
[-- Type: text/x-diff, Size: 659 bytes --]

From 51e8af8df21b0888f118cd962a971ed530a7a2e9 Mon Sep 17 00:00:00 2001
From: Ivan Kanis <ivan@tao>
Date: Fri, 28 Jun 2013 09:05:59 +0200
Subject: [PATCH] autoload eww-browse-url

---
 emacs/misc/eww.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/emacs/misc/eww.el b/emacs/misc/eww.el
index 63fe930..d832aa7 100644
--- a/emacs/misc/eww.el
+++ b/emacs/misc/eww.el
@@ -378,6 +378,7 @@ word(s) will be searched for via `eww-search-prefix'."
 	      :text (buffer-string))
 	eww-history))
 
+;;;###autoload
 (defun eww-browse-url (url &optional new-window)
   (when (and (equal major-mode 'eww-mode)
 	     eww-current-url)
-- 
1.7.1


             reply	other threads:[~2013-06-28  7:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-28  7:08 Ivan Kanis [this message]
2013-06-28  7:56 ` [PATCH] autoload eww-browse-url 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=8761wypvag.fsf@kanis.fr \
    --to=ivan@kanis.fr \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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).