Package: boxes
Version: 1.1.2-3
Severity: normal
Tags: patch
File: /usr/share/emacs/site-lisp/boxes.el

boxes.el doesn't work in xemacs21 (which is still in debian) due to a
6-arg call to shell-command-on-region.

    M-x boxes-create
    => Wrong number of arguments: shell-command-on-region, 6

I suggest omitting this arg since its `nil' there is the default anyway
in gnu emacs.

--- boxes.el.orig	2015-01-17 08:16:13.000000000 +1100
+++ boxes.el	2015-12-09 08:27:01.988263968 +1100
@@ -117,7 +117,7 @@
 		     (concat boxes-args " -r "))
 		 (if type
 		     (concat boxes-args " -d " type)))))
-    (shell-command-on-region start end command-string nil 1 nil)))
+    (shell-command-on-region start end command-string nil 1)))
 
 (provide 'boxes)
 ;;; boxes.el ends here

-- System Information:
Debian Release: stretch/sid
Architecture: i386 (i686)

Kernel: Linux 4.2.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages boxes depends on:
ii  libc6  2.19-22

boxes recommends no packages.

boxes suggests no packages.

-- no debconf information

Reply via email to