summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ebnf2ps.el
diff options
context:
space:
mode:
authorMichael Gauland <mikelygee@amuri.net>2013-10-21 20:47:32 -0400
committerGlenn Morris <rgm@gnu.org>2013-10-21 20:47:32 -0400
commita0f143c90aa823abced50061844eb66704fe9c65 (patch)
tree1bde0600a0aab1559ce2ea49ef5d41d177e8fbdb /lisp/progmodes/ebnf2ps.el
parent18cacc392d076dfd78b58e842116c0c578aaf3c7 (diff)
downloademacs-a0f143c90aa823abced50061844eb66704fe9c65.tar.gz
emacs-a0f143c90aa823abced50061844eb66704fe9c65.tar.bz2
emacs-a0f143c90aa823abced50061844eb66704fe9c65.zip
* lisp/progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
viewers such as evince when ebnf-production-name-p is nil. Fixes: debbugs:15625
Diffstat (limited to 'lisp/progmodes/ebnf2ps.el')
-rw-r--r--lisp/progmodes/ebnf2ps.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el
index caa33d36440..4c2dfc98285 100644
--- a/lisp/progmodes/ebnf2ps.el
+++ b/lisp/progmodes/ebnf2ps.el
@@ -3912,7 +3912,7 @@ See documentation for `ebnf-terminal-shape', `ebnf-non-terminal-shape' and
{/Effect EffectP def
/fP F ForegroundP SetRGB BackgroundP aload pop true BG S
/Effect 0 def
- ( :) S false BG}if
+ ( :) S false BG}{pop}ifelse
xw yw moveto
hT EL RA
xp yw moveto