]> code.delx.au - gnu-emacs/commitdiff
Prevent compiler warning for unused arguments
authorDavid Reitter <david.reitter@gmail.com>
Sat, 11 Jun 2016 01:58:20 +0000 (11:58 +1000)
committerDavid Reitter <david.reitter@gmail.com>
Sat, 11 Jun 2016 01:59:34 +0000 (11:59 +1000)
* 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

index 8c4f49112287dcad9d340c96869f64fcef04a6ee..4b364ee4ebb4f5e66e12933758b890cfa9c905bd 100644 (file)
@@ -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