From eacdc9eb6c89346fb72535632a1c65f6483b639f Mon Sep 17 00:00:00 2001 From: David Reitter Date: Sat, 11 Jun 2016 11:58:20 +1000 Subject: [PATCH] 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. --- lisp/international/ucs-normalize.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2