diff options
| author | Richard M. Stallman | 1990-12-22 22:51:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1990-12-22 22:51:22 +0000 |
| commit | 408a4c8f5e5ed1a096dbc774c2318653ab555e6f (patch) | |
| tree | ab5aefa4b20c8845fde47a707cfd2ab45ba1f83e /lisp | |
| parent | 82ac4b77568ecd0c71ba4bdd824cbe583439d7ba (diff) | |
| download | emacs-408a4c8f5e5ed1a096dbc774c2318653ab555e6f.tar.gz emacs-408a4c8f5e5ed1a096dbc774c2318653ab555e6f.zip | |
*** empty log message ***
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/subr.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 512867ee3c0..ffb4cb58184 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -290,6 +290,17 @@ FILE should be the name of a library, with no directory name." | |||
| 290 | This makes or adds to an entry on `after-load-alist'. | 290 | This makes or adds to an entry on `after-load-alist'. |
| 291 | FILE should be the name of a library, with no directory name." | 291 | FILE should be the name of a library, with no directory name." |
| 292 | (eval-after-load file (read))) | 292 | (eval-after-load file (read))) |
| 293 | |||
| 294 | (defmacro defun-inline (name args &rest body) | ||
| 295 | "Create an \"inline defun\" (actually a macro). | ||
| 296 | Use just like `defun'." | ||
| 297 | (nconc (list 'defmacro name '(&rest args)) | ||
| 298 | (if (stringp (car body)) | ||
| 299 | (prog1 (list (car body)) | ||
| 300 | (setq body (or (cdr body) body)))) | ||
| 301 | (list (list 'cons (list 'quote | ||
| 302 | (cons 'lambda (cons args body))) | ||
| 303 | 'args)))) | ||
| 293 | 304 | ||
| 294 | (defun user-original-login-name () | 305 | (defun user-original-login-name () |
| 295 | "Return user's login name from original login. | 306 | "Return user's login name from original login. |