summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-fln.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/typo-fln.mkiv')
-rw-r--r--tex/context/base/typo-fln.mkiv7
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/typo-fln.mkiv b/tex/context/base/typo-fln.mkiv
index 98577d91e..10b99c809 100644
--- a/tex/context/base/typo-fln.mkiv
+++ b/tex/context/base/typo-fln.mkiv
@@ -80,8 +80,11 @@
\to \everydefinefirstline
\unexpanded\def\setfirstline[#1]%
- {\edef\typo_firstline_set
- {\typo_firstline_set_indeed{\number\csname\??firstline:#1\endcsname}}}
+ {\ifcsname\??firstline:#1\endcsname
+ \edef\typo_firstline_set{\typo_firstline_set_indeed{\number\csname\??firstline:#1\endcsname}}%
+ \else
+ \let\typo_firstline_set\relax
+ \fi}
\unexpanded\def\typo_firstline_set_indeed#1%
{\dontleavehmode