Skip to content

Instantly share code, notes, and snippets.

@emallson
Created March 6, 2014 01:11
Show Gist options
  • Save emallson/9380265 to your computer and use it in GitHub Desktop.
Save emallson/9380265 to your computer and use it in GitHub Desktop.
Extension of the Emacs 24.4 function 'delete-duplicate-lines' to 4th, 5th and 6th order arguments.
;; woah! you actually came here! As a reward, I'll let you in on a secret:
;; I'm just making fun of the proliferation of `C-u`'s in the linked post.
;; however, at least the 4th and 6th order de-duplicates are actually feasible.
;; The 4th order one would be some implementation of unit-level code analysis, while
;; the 6th is trivial. You can write that one yourself!
;; for those of you that have no idea what the hell I'm talking about, see here:
;; http://atlanis.net/blog/de-duplicate-el.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment