diff options
| author | Stefan Monnier | 2012-04-26 08:43:28 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-04-26 08:43:28 -0400 |
| commit | e95a67dc75c3d41c428d6e215426f321b5a2f9e5 (patch) | |
| tree | 942041f2385c9506f52b6c97af7e4cee34f917db /lisp/progmodes/pascal.el | |
| parent | 4c3fa1d9adf3dca80e86b45488b0556f5f0fa495 (diff) | |
| download | emacs-e95a67dc75c3d41c428d6e215426f321b5a2f9e5.tar.gz emacs-e95a67dc75c3d41c428d6e215426f321b5a2f9e5.zip | |
Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT).
* lisp/term/ns-win.el (ns-define-service):
* lisp/progmodes/pascal.el (pascal-goto-defun):
* lisp/progmodes/js.el (js--read-tab):
* lisp/progmodes/etags.el (tags-lazy-completion-table):
* lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
* lisp/emacs-lisp/ewoc.el (ewoc--wrap):
* lisp/emacs-lisp/assoc.el (aput, adelete, amake):
* lisp/doc-view.el (doc-view-convert-current-doc):
* lisp/url/url.el (url-retrieve-synchronously):
* lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
Diffstat (limited to 'lisp/progmodes/pascal.el')
| -rw-r--r-- | lisp/progmodes/pascal.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index 8f7f313753c..5a6f4e20fbc 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el | |||
| @@ -1353,21 +1353,21 @@ The default is a name found in the buffer around point." | |||
| 1353 | (default (if (pascal-comp-defun default nil 'lambda) | 1353 | (default (if (pascal-comp-defun default nil 'lambda) |
| 1354 | default "")) | 1354 | default "")) |
| 1355 | (label | 1355 | (label |
| 1356 | ;; Do completion with default | 1356 | ;; Do completion with default. |
| 1357 | (completing-read (if (not (string= default "")) | 1357 | (completing-read (if (not (string= default "")) |
| 1358 | (concat "Label (default " default "): ") | 1358 | (concat "Label (default " default "): ") |
| 1359 | "Label: ") | 1359 | "Label: ") |
| 1360 | ;; Complete with the defuns found in the | 1360 | ;; Complete with the defuns found in the |
| 1361 | ;; current-buffer. | 1361 | ;; current-buffer. |
| 1362 | (lexical-let ((buf (current-buffer))) | 1362 | (let ((buf (current-buffer))) |
| 1363 | (lambda (s p a) | 1363 | (lambda (s p a) |
| 1364 | (with-current-buffer buf | 1364 | (with-current-buffer buf |
| 1365 | (pascal-comp-defun s p a)))) | 1365 | (pascal-comp-defun s p a)))) |
| 1366 | nil t ""))) | 1366 | nil t ""))) |
| 1367 | ;; If there was no response on prompt, use default value | 1367 | ;; If there was no response on prompt, use default value. |
| 1368 | (if (string= label "") | 1368 | (if (string= label "") |
| 1369 | (setq label default)) | 1369 | (setq label default)) |
| 1370 | ;; Goto right place in buffer if label is not an empty string | 1370 | ;; Goto right place in buffer if label is not an empty string. |
| 1371 | (or (string= label "") | 1371 | (or (string= label "") |
| 1372 | (progn | 1372 | (progn |
| 1373 | (goto-char (point-min)) | 1373 | (goto-char (point-min)) |