NextPrevUpTopContentsIndex

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 the encoding or external-format option as a Lisp expression in the keyword package.

Description

Looks in the file options (EMACS-style -*- line) for an option called encoding or external-format , with value value . If found, read value as a Lisp expression in the keyword package and return the result.

See also

*file-encoding-detection-algorithm*


LispWorks Reference Manual - 6 Apr 2005

NextPrevUpTopContentsIndex