• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Clean up in in place editor helper macros (wincent.dev, 3fa763d)

Created 1/26/2008, updated 3/12/2024
  • snippets

The code can be made to read nicer by dumping an "a = a || b" construct in favor of a "a ||= b" one.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Fix typo in in place editor helper (wincent.dev, a29bd91)
Teach the in place editor to play nicely with forgery protection (wincent.dev, 2b5cbd0) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).