From: David Reitter Date: Sat, 11 Jun 2016 01:58:20 +0000 (+1000) Subject: Prevent compiler warning for unused arguments X-Git-Tag: emacs-26.0.90~1840^2~240 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eacdc9eb6c89346fb72535632a1c65f6483b639f;p=emacs.git Prevent compiler warning for unused arguments * lisp/international/ucs-normalize.el (ucs-normalize-hfs-nfd-pre-write-conversion): Prevent compiler warning for unused arguments, add coment. --- diff --git a/lisp/international/ucs-normalize.el b/lisp/international/ucs-normalize.el index 8c4f4911228..4b364ee4ebb 100644 --- a/lisp/international/ucs-normalize.el +++ b/lisp/international/ucs-normalize.el @@ -613,7 +613,8 @@ COMPOSITION-PREDICATE will be used to compose region." (- (point-max) (point-min))))) ;; Pre-write conversion for `utf-8-hfs'. -(defun ucs-normalize-hfs-nfd-pre-write-conversion (from to) +;; _from and _to are legacy arguments (see `define-coding-system'). +(defun ucs-normalize-hfs-nfd-pre-write-conversion (_from _to) (ucs-normalize-HFS-NFD-region (point-min) (point-max))) ;;; coding-system definition