diff options
| author | Joakim Verona | 2012-12-05 00:40:11 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-05 00:40:11 +0100 |
| commit | 5cd9c6f1c94955ad27f08409c7f1458e4a587d8b (patch) | |
| tree | 68d15bb72c423b6cec76c493beef852b580811bc | |
| parent | 39f9cdbf0556f410a9f27e4836d4630dd83b624b (diff) | |
| parent | b2b049bc3783e7de267b194489f0840220a7b78c (diff) | |
| download | emacs-5cd9c6f1c94955ad27f08409c7f1458e4a587d8b.tar.gz emacs-5cd9c6f1c94955ad27f08409c7f1458e4a587d8b.zip | |
auto upstream
| -rw-r--r-- | lisp/gnus/gmm-utils.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/gnus/gmm-utils.el b/lisp/gnus/gmm-utils.el index 9be6c66b63a..7d6684ca6c1 100644 --- a/lisp/gnus/gmm-utils.el +++ b/lisp/gnus/gmm-utils.el | |||
| @@ -437,8 +437,10 @@ coding-system." | |||
| 437 | 437 | ||
| 438 | (defmacro gmm-labels (bindings &rest body) | 438 | (defmacro gmm-labels (bindings &rest body) |
| 439 | "Make temporary function bindings. | 439 | "Make temporary function bindings. |
| 440 | The lexical scoping is handled via `lexical-let' rather than relying | 440 | The bindings can be recursive and the scoping is lexical, but capturing |
| 441 | on `lexical-binding'. | 441 | them in closures will only work if `lexical-binding' is in use. But in |
| 442 | Emacs 24.2 and older, the lexical scoping is handled via `lexical-let' | ||
| 443 | rather than relying on `lexical-binding'. | ||
| 442 | 444 | ||
| 443 | \(fn ((FUNC ARGLIST BODY...) ...) FORM...)" | 445 | \(fn ((FUNC ARGLIST BODY...) ...) FORM...)" |
| 444 | `(,(progn (require 'cl) (if (fboundp 'cl-labels) 'cl-labels 'labels)) | 446 | `(,(progn (require 'cl) (if (fboundp 'cl-labels) 'cl-labels 'labels)) |