all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: "John Ankarström" <john@ankarstrom.se>
Cc: emacs-devel@gnu.org
Subject: Re: Should fancy-startup-screen really set browse-url-browser-function?
Date: Thu, 09 Dec 2021 19:09:47 +0200	[thread overview]
Message-ID: <86ilvxsqcc.fsf@mail.linkov.net> (raw)
In-Reply-To: <87o85pq3c2.fsf@ankarstrom.se> ("John Ankarström"'s message of "Thu, 09 Dec 2021 15:07:25 +0100")

> Should fancy-startup-screen (and major modes in general) really override
> browse-url-browser-function?

Maybe this would be better?

diff --git a/lisp/startup.el b/lisp/startup.el
index 3ac7532053..70c95af88f 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -2276,7 +2276,9 @@ normal-about-screen
   (insert "\tHow to report bugs and contribute improvements to Emacs\n\n")
 
   (insert-button "GNU and Freedom"
-		 'action (lambda (_button) (describe-gnu-project))
+		 'action (lambda (_button)
+                           (let ((browse-url-browser-function 'eww-browse-url))
+                             (describe-gnu-project)))
 		 'follow-link t)
   (insert "\t\tWhy we developed GNU Emacs and the GNU system\n")
 
-- 

etc.



  reply	other threads:[~2021-12-09 17:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09 14:07 Should fancy-startup-screen really set browse-url-browser-function? John Ankarström
2021-12-09 17:09 ` Juri Linkov [this message]
2021-12-10  0:41   ` Lars 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

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

  git send-email \
    --in-reply-to=86ilvxsqcc.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=emacs-devel@gnu.org \
    --cc=john@ankarstrom.se \
    /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.