Minor fix in apm.el