Module El4r::ELMethodsMixin
In: bin/el4r-instance

EmacsLisp wrapper methods

Methods

Public Instance methods

Extended buffer-string. buf is a buffer object.

EmacsLisp‘s defadvice. func is Symbol or String refering to the function. args is parameters to defadvice such as :before, :after, :around, :activate. In the block, you can call ad_do_it. [around advice]

EmacsLisp‘s define-key.

map is a Symbol or ELObject refering to a keymap object. This method can be called with block.

EmacsLisp‘s defun.

attrs is a Hash.

attrs[:interactive]:If the function is interactive, set true or String.
attrs[:docstring]:The docstring.

The function arguments are block arguments.

Bare EmacsLisp expression.

EmacsLisp‘s lambda.

EmacsLisp‘s load.

EmacsLisp‘s eval-after-load

Call an EmacsLisp function

getq(name)

Alias for symbol_value

EmacsLisp‘s let. name_and_value_list is [variable_name, value, variable_name, value…]. +name_and_value_list.length+ must be even. variable_name is a Symbol.

method_missing(name_or_lambda, *args, &block)

Alias for funcall

Create a new buffer with some initialization. With block, newbuf execute it by the context of the generated buffer.

A parameter is a Hash.

:name :buffer-name
:file :find-file-noselect / insert-file-contents [with :name]
:contents :buffer-string
:line :goto-line
:point :goto-char [default is (point-max)]
:display ::pop / :only / true
:current :set-buffer
:read_only :buffer-read-only
:bury :bury-buffer
set(name, value)

Alias for setq

Call (func FORMS…) type function

Call defun-type macro. `mode’ is an EmacsLisp function to define. Most case the first argument is the function name.

`define_derived_mode’ and `define_minor_mode’ are examples of this method‘s usage.

[Validate]