Next Previous Up Top Contents Index

18 The SYSTEM Package

find-encoding-option

Function

Summary

Examines a buffer for an encoding option.
Package

system

Signature

find-encoding-option pathname ef-spec buffer length => result

Arguments

pathname

Pathname identifying location of buffer.

ef-spec

An external format spec.

buffer

A buffer whose contents are examined.

length

Length (an integer) up to which buffer should be examined.

Values

result

The result of reading the value returned from theencoding orexternal-format option as a Lisp expression in thekeyword package.

Description

Looks in the file options (EMACS-style-*- line) for an option calledencoding orexternal-format, with value value. If found, read value as a Lisp expression in thekeyword package and return the result.
See also

*file-encoding-detection-algorithm*


LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker