X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=texi%2Finfohack.el;h=3425b27df16fc404537b600cb91e18ba64cff372;hb=10e49b3e23e1929088ab4d88bb81335a3f9f0dce;hp=6e5705a3fad838dd80ad1a53a6e81c5f0df669bf;hpb=6e2fe9089576baab27befa69a7b84562f292a2a7;p=gnus diff --git a/texi/infohack.el b/texi/infohack.el index 6e5705a3f..3425b27df 100644 --- a/texi/infohack.el +++ b/texi/infohack.el @@ -40,6 +40,10 @@ (let ((dest-directory default-directory) (max-lisp-eval-depth (max max-lisp-eval-depth 600)) coding-system) + ;; Emacs 21.3 doesn't support @documentencoding + (unless (get 'documentencoding 'texinfo-format) + (put 'documentencoding 'texinfo-format + 'texinfo-discard-line-with-args)) (find-file file) (setq buffer-read-only nil) (setq coding-system buffer-file-coding-system)