]> git.eshelyaron.com Git - emacs.git/commitdiff
ibuffer-map-deletion-lines: Re-included it
authorTino Calancha <tino.calancha@gmail.com>
Wed, 7 Dec 2016 14:02:26 +0000 (23:02 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Wed, 7 Dec 2016 14:02:26 +0000 (23:02 +0900)
It was deleted in previous commit, but it's referenced
by the macro 'define-ibuffer-op'.
* lisp/ibuffer.el (ibuffer-map-deletion-lines): Reinclude it.

lisp/ibuffer.el

index c7cc9dcc4ea1e3dd9b066bee47dc7555695c326d..94cee329d5aa930b44e7168dbbe51b643b59b55c 100644 (file)
@@ -1265,6 +1265,9 @@ a new window in the current frame, splitting vertically."
    (lambda (_buf mark)
      (eq mark ibuffer-deletion-char))))
 
+(defsubst ibuffer-map-deletion-lines (func)
+  (ibuffer-map-on-mark ibuffer-deletion-char func))
+
 (defsubst ibuffer-assert-ibuffer-mode ()
   (cl-assert (derived-mode-p 'ibuffer-mode)))