Some shells (like ksh on SDF) may complain about $((...)) arithmetic expansion syntax. Rather than wrestle with old shells, I'll offload this trivial operation to elisp instead. Close: #6970