aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorStefan Monnier2012-11-19 23:24:09 -0500
committerStefan Monnier2012-11-19 23:24:09 -0500
commit23ba2705e22b89154ef7cbb0595419732080b94c (patch)
treeb9ca597bccdbbc6467e0fa76ea1fb321fcb0f5c0 /src/ChangeLog
parentb0636be7f9526041aeaa9f4fb6d3636426eec899 (diff)
downloademacs-23ba2705e22b89154ef7cbb0595419732080b94c.tar.gz
emacs-23ba2705e22b89154ef7cbb0595419732080b94c.zip
Make called-interactively-p work for edebug or advised code.
* lisp/subr.el (called-interactively-p-functions): New var. (internal--called-interactively-p--get-frame): New macro. (called-interactively-p, interactive-p): Rewrite in Lisp. * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun. (called-interactively-p-functions): Use it. * lisp/emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun. (called-interactively-p-functions): Use it. * lisp/allout.el (allout-called-interactively-p): Don't assume called-interactively-p is a subr. * src/eval.c (Finteractive_p, Fcalled_interactively_p, interactive_p): Remove. (syms_of_eval): Remove corresponding defsubr. * src/bytecode.c (exec_byte_code): `interactive-p' is now a Lisp function. * test/automated/advice-tests.el (advice-tests--data): Remove. (advice-tests): Move the tests directly here instead. Add called-interactively-p tests.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 89c4e273715..9e83129e585 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * eval.c (Finteractive_p, Fcalled_interactively_p, interactive_p): Remove.
4 (syms_of_eval): Remove corresponding defsubr.
5 * bytecode.c (exec_byte_code): `interactive-p' is now a Lisp function.
6
12012-11-19 Daniel Colascione <dancol@dancol.org> 72012-11-19 Daniel Colascione <dancol@dancol.org>
2 8
3 * w32fns.c (Fx_file_dialog): 9 * w32fns.c (Fx_file_dialog):
@@ -17,10 +23,10 @@
17 windows.h gets included before w32term.h uses some of its 23 windows.h gets included before w32term.h uses some of its
18 features, see below. 24 features, see below.
19 25
20 * w32term.h (LOCALE_ENUMPROCA, LOCALE_ENUMPROCW) [_MSC_VER]: New 26 * w32term.h (LOCALE_ENUMPROCA, LOCALE_ENUMPROCW) [_MSC_VER]:
21 typedefs. 27 New typedefs.
22 (EnumSystemLocalesA, EnumSystemLocalesW) [_MSC_VER]: New 28 (EnumSystemLocalesA, EnumSystemLocalesW) [_MSC_VER]:
23 prototypes. 29 New prototypes.
24 (EnumSystemLocales) [_MSC_VER]: Define if undefined. (Bug#12878) 30 (EnumSystemLocales) [_MSC_VER]: Define if undefined. (Bug#12878)
25 31
262012-11-18 Jan Djärv <jan.h.d@swipnet.se> 322012-11-18 Jan Djärv <jan.h.d@swipnet.se>
@@ -312,8 +318,8 @@
312 * xdisp.c (try_scrolling): Fix correction of aggressive-scroll 318 * xdisp.c (try_scrolling): Fix correction of aggressive-scroll
313 amount when the scroll margins are too large. When scrolling 319 amount when the scroll margins are too large. When scrolling
314 backwards in the buffer, give up if cannot reach point or the 320 backwards in the buffer, give up if cannot reach point or the
315 scroll margin within a reasonable number of screen lines. Fixes 321 scroll margin within a reasonable number of screen lines.
316 point position in window under scroll-up/down-aggressively when 322 Fixes point position in window under scroll-up/down-aggressively when
317 point is positioned many lines beyond the window top/bottom. 323 point is positioned many lines beyond the window top/bottom.
318 (Bug#12811) 324 (Bug#12811)
319 325