Max Nikulin <maniku...@gmail.com> writes: >> May you elaborate? (Or, better, send a patch) > > The typo in https://orgmode.org/worg/org-faq.html#mailto-links > > browse-url~browser-function > ----------^
Fixed. https://git.sr.ht/~bzg/worg/commit/60bed811 > Looking at > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c4adfbae24d9 > Allow for custom URL handlers in browse-url. > (included into Emacs-28) > >> +(defun browse-url--mailto (url &rest args) >> + "Calls `browse-url-mailto-function' with URL and ARGS." >> + (funcall browse-url-mailto-function url args)) > > I decided that it is consistent with > >> nil("mailto:sran...@gmail.com" (nil)) >> browse-url--mailto("mailto:sran...@gmail.com" nil) > > when `browse-url-mailto-function' is set to nil. However docstring to > this variable allows nil (perhaps there is really an Emacs bug). Now I > am puzzled why setting `browse-url-mailto-function' to > `browse-url-default-browser' does not help. I have no idea what should > be suggested to users instead of nil. This is Emacs bug that should be reported. I do not think that we need to document every workaround for Emacs bugs. Especially given that Emacs 29 is just around the corner. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>