Skip to content

Instantly share code, notes, and snippets.

View zot's full-sized avatar

Bill Burdick zot

  • Jerusalem, Israel
View GitHub Profile
###
Copyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
@zot
zot / phi-search-kluge.el
Created September 10, 2013 19:52
kluge to clean up phi-search results in multiple-cursor mode
(defvar my-phi-search-counter 0)
(defvar my-mc-cleanup-counter 0)
(defadvice phi-search-complete (around my-phi-search-cleanup)
ad-do-it
(cl-incf my-phi-search-counter))
(defadvice mc/execute-command-for-all-fake-cursors (around my-mc/execute-command-for-fake-all-cursors)
ad-do-it
(if (< my-mc-cleanup-counter my-phi-search-counter)

Advice

Copyright (C) 2015, Bill Burdick, Roy Riggs, TEAM CTHULHU

Licensed with ZLIB license (see "License", below).

Advice is part of Leisure project. You can find it on Github.

Licensed with ZLIB license.