Use cl-signum' instead of signum'

* lisp/org.el (org-modify-ts-extra): Use `cl-signum' instead of
  `signum'.
This commit is contained in:
Nicolas Goaziou 2018-11-01 22:26:21 +01:00
parent 17deb1c7eb
commit 42eebb3755

View file

@ -17500,7 +17500,7 @@ When SUPPRESS-TMP-DELAY is non-nil, suppress delays like \"--2d\"."
h (string-to-number (match-string 2 s)))
(if (org-pos-in-match-range pos 2)
(setq h (+ h n))
(setq n (* dm (with-no-warnings (signum n))))
(setq n (* dm (with-no-warnings (cl-signum n))))
(unless (= 0 (setq rem (% m dm)))
(setq m (+ m (if (> n 0) (- rem) (- dm rem)))))
(setq m (+ m n)))