Giter VIP home page Giter VIP logo

Comments (7)

abrochard avatar abrochard commented on June 20, 2024

Thank you for your interest!
That is very weird. I am also on emacs 26.1 and I see browse-url-default-browser defined in browse-url.el which is part of the regular codebase?
What happens if you do a C-h f browse-url-default-browser? do you see the function defined?

from mermaid-mode.

gjm avatar gjm commented on June 20, 2024

@abrochard I don't have that function defined... And I have browse-url.el installed.

As I said in the OP, I'm using Ubuntu 19.04. Maybe something is different in Ubuntu from your distro.

from mermaid-mode.

abrochard avatar abrochard commented on June 20, 2024

So weird. That would be an interesting thing to ask on a forum or something.

As a workaround, I propose you define the function yourself?
https://github.com/emacs-mirror/emacs/blob/d0e2a341dd9a9a365fd311748df024ecb25b70ec/lisp/net/browse-url.el#L924
You could stick that guy into your config?

from mermaid-mode.

gjm avatar gjm commented on June 20, 2024

How about using browse-url-xdg-open instead of browse-url-default-browser? Doesn't that work?

from mermaid-mode.

gjm avatar gjm commented on June 20, 2024

Closed by mistake... sorry...

from mermaid-mode.

gjm avatar gjm commented on June 20, 2024

Fixed it!

Was using use-package to pull mermaid-mode. Had to (require 'browse-url) in package initialization. Seems to be working fine now.

Thanks!

from mermaid-mode.

abrochard avatar abrochard commented on June 20, 2024

Awesome! Thank you! I wonder if I should add that require in the package....

from mermaid-mode.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.