summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-03-13 10:26:07 -0700
committerCraig Earls <enderw88@gmail.com>2013-03-13 10:26:07 -0700
commit3b5316486abcde380ee0f7d31ec56ab1aa736687 (patch)
treeffcb6008825cc0229e431ced2f89934ef46edd73
parentc85f397edc33f895921b7900f938cd9cbb9f0e16 (diff)
downloadfork-ledger-3b5316486abcde380ee0f7d31ec56ab1aa736687.tar.gz
fork-ledger-3b5316486abcde380ee0f7d31ec56ab1aa736687.tar.bz2
fork-ledger-3b5316486abcde380ee0f7d31ec56ab1aa736687.zip
Removed unused function loedger-occur-change-regex
-rw-r--r--lisp/ldg-occur.el12
1 files changed, 0 insertions, 12 deletions
diff --git a/lisp/ldg-occur.el b/lisp/ldg-occur.el
index f14aeeda..8b56d12c 100644
--- a/lisp/ldg-occur.el
+++ b/lisp/ldg-occur.el
@@ -19,9 +19,6 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
;; MA 02111-1307, USA.
-
-
-
;;; Commentary:
;; Provide code folding to ledger mode. Adapted from original loccur
;; mode by Alexey Veretennikov <alexey dot veretennikov at gmail dot
@@ -164,15 +161,6 @@ Argument OVL-BOUNDS contains bounds for the transactions to be left visible."
(overlay-put ovl 'face 'ledger-occur-xact-face )))
overlays)))
-(defun ledger-occur-change-regex (regex buffer)
- "Use this function to programatically change the overlays using REGEX in BUFFER, rather than quitting out and restarting."
- (progn
- (set-buffer buffer)
- (setq ledger-occur-mode nil)
- (force-mode-line-update)
- (ledger-occur-mode regex buffer)
- (recenter)))
-
(defun ledger-occur-quit-buffer (buffer)
"Quits hidings transaction in the given BUFFER.
Used for coordinating `ledger-occur' with other buffers, like reconcile."