X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/411c1c65313aa4e22730ba9762e073881f4e299a..0e963201d03d9229bb8ac4323291d2b0119526ed:/lisp/progmodes/opascal.el diff --git a/lisp/progmodes/opascal.el b/lisp/progmodes/opascal.el index 2f3704be6f..72c09fe15c 100644 --- a/lisp/progmodes/opascal.el +++ b/lisp/progmodes/opascal.el @@ -1,6 +1,6 @@ ;;; opascal.el --- major mode for editing Object Pascal source in Emacs -*- lexical-binding: t -*- -;; Copyright (C) 1998-1999, 2001-2014 Free Software Foundation, Inc. +;; Copyright (C) 1998-1999, 2001-2016 Free Software Foundation, Inc. ;; Authors: Ray Blaak , ;; Simon South @@ -368,7 +368,7 @@ routine.") ;; Report the percentage complete. (setq opascal-progress-last-reported-point p) (message "%s %s ... %d%%" - desc (buffer-name) (/ (* 100 p) (point-max)))))) + desc (buffer-name) (floor (* 100.0 p) (point-max)))))) (defun opascal-next-line-start (&optional from-point) ;; Returns the first point of the next line.