Fix: Warning: filter-buffer-substring called with 4 arguments, but accepts only 2-3.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 01 Mar 2015 13:30:14 +0200
changeset 1246 abd80227aa4b
parent 1245 545d1e17bfe3
child 1247 6de0de0a4033
Fix: Warning: filter-buffer-substring called with 4 arguments, but accepts only 2-3.
my-log-mode.el
--- a/my-log-mode.el	Sun Mar 01 13:27:01 2015 +0200
+++ b/my-log-mode.el	Sun Mar 01 13:30:14 2015 +0200
@@ -25,7 +25,7 @@
       (setq start (point))
       (move-end-of-line 1)
       (setq stop (point))
-      (setq line (filter-buffer-substring start stop nil t))
+      (setq line (filter-buffer-substring start stop))
       (string-match fregex line)
       (setq fname (match-string 1 line))
       (when fname