mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
print/pdf-tools: Add lexical-binding cookie to pdf-tools-init.el
As of 9f25d46568b in upstream's master branch, Emacs emits a run-time warning when lexical binding is unset. This serves as a reminder that lexical binding is preferred. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
dae1c5da24
commit
ffc76ee7d7
2 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
PORTNAME= pdf-tools
|
PORTNAME= pdf-tools
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 1.1.0
|
DISTVERSION= 1.1.0
|
||||||
PORTREVISION= 12
|
PORTREVISION= 13
|
||||||
CATEGORIES= print elisp
|
CATEGORIES= print elisp
|
||||||
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
;;; pdf-tools-init.el --- PDF Tools Initialization -*- lexical-binding: t -*-
|
||||||
|
|
||||||
(load "pdf-tools-loaddefs.el")
|
(load "pdf-tools-loaddefs.el")
|
||||||
(autoload 'pdf-view-mode "pdf-tools")
|
(autoload 'pdf-view-mode "pdf-tools")
|
||||||
(add-to-list 'auto-mode-alist '("\\.[pP][dD][fF]\\'" . pdf-view-mode))
|
(add-to-list 'auto-mode-alist '("\\.[pP][dD][fF]\\'" . pdf-view-mode))
|
||||||
|
|
Loading…
Add table
Reference in a new issue