(lambda)

Provides a progn block with lamdba binding.

(last-key-struck)

Returns the last command character struck. If you have a function bound to many keys, the function may use last-key-struck to determine which key was used to invoke it.

See also:

(left-marker marker-expression)

Takes a marker as a parameter and returns a new marker. The new marker will be at the same position as the original but with left-hand affinity. This means that text inserted at the position of the marker will not move the marker's position. Right-hand affinity markers move to the right as text is inserted.

Example: Set a left marker:

(setq left-hand-end (left-marker (dot))

See also:

(left-window repeat-count)

Moves the cursor into the window that is to the left of the current window. (Unlike next-window, which moves the cursor without regard to the physical position of the windows on the screen).

If the repeat-count is given then the command is repeated that number of times.

left-window reports an error if there is not a window to the left of the current window.

Example: Move to the window at the extreme left:

(while 1 (left-window)
)                               ; while

See also:

(length string-expression)

Returns the length of its string parameter.

Example:

The length of "time" is 4:
(length "time")

(line-to-top-of-window) ESC-!

Moves the line in which dot resides to the top of the window associated with the current buffer.

(lisp-mode)

Enables Lisp Mode, a major mode for editing programs written in the Lisp language and also MLisp programs for Emacs.

For more information, see the User Guide

(list-abbreviation-tables)

Creates a buffer called Abbreviation table list and inserts a list of the abbreviation tables that have been defined in Emacs.

See also:

(list-auto-executes)

Creates a buffer called Auto Execute list and inserts a list of all the auto-execute patterns and their functions.

(list-breakpoints)

Creates a buffer called Breakpoint list and inserts a list of the functions that have breakpoints set.

See also:

(list-buffers) ^X-^B

Produces a listing of all existing buffers giving their names, the name of the associated file (if there is one), the number of characters in the buffer and an indication of whether or not the buffer has been modified since it was read from or written to the associated file.

(list-databases)

Lists all database search lists and the names of the database files contained in them.

(list-images)

Lists the names of all images referenced by the external-function command. The listing shows the image name, the value of the context and the name of the file that holds the image.

See also:

(list-processes)

Lists the names of all existing subprocesses. The list includes the state in which each process is running, the time at which each process entered that state, and some information about the names of buffers and procedures associated with the process.

Processes that have died appear once in this list before completely disappearing.

See also:

(list-syntax-tables)

Lists all the syntax tables that have been defined.

(load file-name)

Loads the nominated file as a series of MLisp expressions executing each in turn. (This function is exactly the same as execute-mlisp-file).

See also:

(local-bind-to-key function key-sequence)

Binds the specified function to the given key sequence. Unlike bind-to-key, the binding has effect in only the current buffer. If called interactively, the function prompts for the name of the function to bind and also for the key.

See bind-to-key for details of key names.

Examples:

A function to insert the time, followed by a tab character, bound to the key Numlock-t:

(defun
    (time-and-tab
        (insert-string (current-time) "\t")
        )
        
)                               ; defun - delete-current-buffer
(local-bind-to-key "time-and-tab" "\[num-lock]t")

A single binding to do the same thing:

(local-bind-to-key "(insert-string (current-time) \"\\t\")" "\[num-lock]t")

See also:

(local-binding-of key-sequence)

Returns the name of the function that the key sequence provided will invoke using the current local keymap.

See also:

(looking-at regular-expression)

Deprecated: Use ere-looking-at for new code.

Returns 1 if the given regular expression search string matches the text immediately following dot. This is for use in packages that want to do limited parsing.

If a negative prefix argument is supplied, characters to the left of dot are checked, rather than those to the right.

For example, if dot is at the beginning of a line then:

(looking-at "[ \t]*else")

is true if the line starts with any number of spaces or tabs, followed by "else".

See re-search-forward for more information about regular expression searches.

See also: