al3x,
@al3x@hachyderm.io avatar

What am I doing wrong in this snippet:

(add-hook 'newsticker-mode-hook (lambda ()  
 (setq browse-url-browser-function 'eww-browse-url)))  

I am trying to make newsticker use eww instead of an external browser
for opening links.

Thank you!

ctietze,
@ctietze@mastodon.social avatar

@al3x Does the (setq...) work if you eval it in the newsticker mode manually? (Asking with the intent to isolate something about the hook not running from the actual effect)

I'd have expected setq-local to be needed to limit this to your newsticker-mode buffer.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • emacs
  • kavyap
  • thenastyranch
  • ethstaker
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • Youngstown
  • everett
  • mdbf
  • slotface
  • ngwrru68w68
  • rosin
  • Durango
  • JUstTest
  • InstantRegret
  • GTA5RPClips
  • tester
  • cubers
  • cisconetworking
  • normalnudes
  • khanakhh
  • modclub
  • anitta
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines