]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/ps-bdf.el: Use lexical-binding
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 10 Apr 2021 21:03:11 +0000 (17:03 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 10 Apr 2021 21:03:11 +0000 (17:03 -0400)
lisp/ps-bdf.el

index 7bf2f71822aca69f39f4a782d270180bbe4bc593..72cbcf8bd68bafcd0477628051a970f46db71e48 100644 (file)
@@ -1,4 +1,4 @@
-;;; ps-bdf.el --- BDF font file handler for ps-print
+;;; ps-bdf.el --- BDF font file handler for ps-print  -*- lexical-binding: t; -*-
 
 ;; Copyright (C) 1998-1999, 2001-2021 Free Software Foundation, Inc.
 ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
@@ -138,7 +138,7 @@ See the documentation of the function `bdf-read-font-info' for more detail."
 (defun bdf-initialize ()
   "Initialize `bdf' library."
   (and (bdf-read-cache)
-       (add-hook 'kill-emacs-hook 'bdf-write-cache)))
+       (add-hook 'kill-emacs-hook #'bdf-write-cache)))
 
 (defun bdf-compact-code (code code-range)
   (if (or (< code (aref code-range 4))