[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Function Defintion

From: Artist
Subject: Function Defintion
Date: 28 Feb 2003 11:47:25 -0800

Hi, How I can get the function definition via lisp code?
 Lambda expression may be ok.

I know how to see it via find-function and I don't want to use macro.

Something like
(get-definition 'mark-whole-buffer)

should return

(defun mark-whole-buffer ()
  "Put point at beginning and mark at end of buffer.
You probably should not use this function in Lisp programs;
it is usually a mistake for a Lisp function to use any subroutine
that uses or sets the mark."
  (push-mark (point))
  (push-mark (point-max) nil t)
  (goto-char (point-min)))

Thanks You

reply via email to

[Prev in Thread] Current Thread [Next in Thread]