[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117425: * lisp/files.el (minibuffer-with-setup-hook
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] trunk r117425: * lisp/files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly. |
Date: |
Sat, 28 Jun 2014 01:10:34 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117425
revision-id: address@hidden
parent: address@hidden
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Fri 2014-06-27 21:10:27 -0400
message:
* lisp/files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/files.el files.el-20091113204419-o5vbwnq5f7feedwu-265
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-06-27 17:51:00 +0000
+++ b/lisp/ChangeLog 2014-06-28 01:10:27 +0000
@@ -1,3 +1,7 @@
+2014-06-28 Stefan Monnier <address@hidden>
+
+ * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
+
2014-06-26 Glenn Morris <address@hidden>
* Makefile.in (update-authors): Update for moved authors.el.
@@ -15,8 +19,8 @@
2014-06-26 Daiki Ueno <address@hidden>
- * emacs-lisp/package.el (package--check-signature): If
- package-check-signature is allow-unsigned, don't signal error when
+ * emacs-lisp/package.el (package--check-signature):
+ If package-check-signature is allow-unsigned, don't signal error when
we can't verify signature because of missing public key
(bug#17625).
@@ -34,8 +38,8 @@
* ruler-mode.el (ruler-mode-mouse-add-tab-stop)
(ruler-mode-ruler): Fix to work with nil tab-stop-list.
- * progmodes/asm-mode.el (asm-calculate-indentation): Use
- indent-next-tab-stop.
+ * progmodes/asm-mode.el (asm-calculate-indentation):
+ Use indent-next-tab-stop.
* indent.el (indent-accumulate-tab-stops): New function.
@@ -114,8 +118,8 @@
(hif-parse-macro-arglist): Mostly new functions for supporting
argumented macro expansion.
(hif-string-concatenation, hif-stringify, hif-token-concat)
- (hif-token-stringification, hif-token-concatenation): Stringification
- and concatenation.
+ (hif-token-stringification, hif-token-concatenation):
+ Stringification and concatenation.
(hif-find-next-relevant): Fix comments.
(hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
some cases involving #elif.
=== modified file 'lisp/files.el'
--- a/lisp/files.el 2014-06-25 10:36:51 +0000
+++ b/lisp/files.el 2014-06-28 01:10:27 +0000
@@ -1382,14 +1382,16 @@
This macro actually adds an auxiliary function that calls FUN,
rather than FUN itself, to `minibuffer-setup-hook'."
(declare (indent 1) (debug t))
- (let ((hook (make-symbol "setup-hook")))
- `(let (,hook)
+ (let ((hook (make-symbol "setup-hook"))
+ (funsym (make-symbol "fun")))
+ `(let ((,funsym ,fun)
+ ,hook)
(setq ,hook
(lambda ()
;; Clear out this hook so it does not interfere
;; with any recursive minibuffer usage.
(remove-hook 'minibuffer-setup-hook ,hook)
- (funcall ,fun)))
+ (funcall ,funsym)))
(unwind-protect
(progn
(add-hook 'minibuffer-setup-hook ,hook)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117425: * lisp/files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.,
Stefan Monnier <=