* test/indent/css-mode.css (.x2): Test alignement inside braces.
* test/indent/prolog.prolog: Test alignment of ->; with operator at bol.
+2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * eval.c (run_hook_with_args): Use FUNCTIONP.
+
2013-10-29 Dmitry Antipov <dmantipov@yandex.ru>
* xterm.h (struct x_output): For 'black_relief' and 'white_relief'
(get_adapters_info): New wrapper function.
(globals_of_w32): Initialize g_b_init_get_adapters_info.
- * process.h (network_interface_list, network_interface_info): New
- prototypes.
+ * process.h (network_interface_list, network_interface_info):
+ New prototypes.
* process.c (conv_sockaddr_to_lisp): Now externally-visible.
(Fnetwork_interface_list, Fnetwork_interface_info): Define for
(xw_popup_dialog): New function, with X-specific bits of popup
dialogs.
- * xdisp.c (deep_copy_glyph_row, display_tty_menu_item): New
- functions.
+ * xdisp.c (deep_copy_glyph_row, display_tty_menu_item):
+ New functions.
* window.c (Fset_window_configuration): Use run-time tests of the
frame type instead of compile-time conditionals, when menu-bar
of, or in addition to, compile-time conditionals.
(menu_item_width, Fmenu_bar_menu_at_x_y): New functions.
(Fx_popup_menu): Detect when the function is called from keyboard
- on a TTY. Don't barf when invoked on a text-mode frame. Check
- frame type at run time, instead of compile-time conditionals for
- invoking terminal-specific menu-show functions. Call
- tty_menu_show on text-mode frames.
- (Fx_popup_dialog): Moved here from xmenu.c. Test frame types at
+ on a TTY. Don't barf when invoked on a text-mode frame.
+ Check frame type at run time, instead of compile-time conditionals for
+ invoking terminal-specific menu-show functions.
+ Call tty_menu_show on text-mode frames.
+ (Fx_popup_dialog): Move here from xmenu.c. Test frame types at
run time to determine which alternative to invoke; support dialogs
on TTYs.
count = SPECPDL_INDEX ();
/* To select a nonfundamental mode,
- select the buffer temporarily and then call the mode function. */
+ select the buffer temporarily and then call the mode function. */
record_unwind_protect (save_excursion_restore, save_excursion_save ());
old_buf = current_buffer;
current_buffer = b;
- last_known_column_point = -1; /* invalidate indentation cache */
+ last_known_column_point = -1; /* Invalidate indentation cache. */
if (old_buf)
{
fetch_buffer_markers (b);
/* Look down buffer's list of local Lisp variables
- to find and update any that forward into C variables. */
+ to find and update any that forward into C variables. */
do
{
if (EQ (val, Qunbound) || NILP (val))
return ret;
- else if (!CONSP (val) || EQ (XCAR (val), Qlambda))
+ else if (!CONSP (val) || FUNCTIONP (val))
{
args[0] = val;
return funcall (nargs, args);
+2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * indent/prolog.prolog: Test alignment of ->; with operator at bol.
+
+ * indent/css-mode.css (.x2): Test alignement inside braces.
+
2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
* indent/ruby.rb: New failing example.
- * automated/ruby-mode-tests.el (ruby-toggle-block-to-brace): Fix
- the test, in respect to adding the space after the curly.
+ * automated/ruby-mode-tests.el (ruby-toggle-block-to-brace):
+ Fix the test, in respect to adding the space after the curly.
2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
- * indent/ruby.rb: New examples for indentation of blocks. Example
- of hash inside parens that inflooped before the present commit.
+ * indent/ruby.rb: New examples for indentation of blocks.
+ Example of hash inside parens that inflooped before the present commit.
2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
.x2
{
+ foo: bar;
+ bar: baz;
}
div.x3
subst(Y, Y1, [], Bi, Bi1);
Y1 = Y, Bi1 = Bi),
%% Perform substitution on the body.
- subst(X, V, FV, Bi1, Bo)).
+ subst(X, V, FV, Bi1, Bo)),
+ ( X = Y
+ %% If X is equal to Y, X is shadowed, so no subst can take place.
+ -> Y1 = Y, Bo = Bi
+ ; (member((Y, _), FV)
+ %% If Y appears in FV, it can appear in V, so we need to
+ %% rename it to avoid name capture.
+ -> new_atom(Y, Y1),
+ subst(Y, Y1, [], Bi, Bi1)
+ ; Y1 = Y, Bi1 = Bi),
+ %% Perform substitution on the body.
+ subst(X, V, FV, Bi1, Bo)
+ ).
subst(X, V, FV, pi(Y, Ti, Bi), pi(Y1, To, Bo)) :-
subst(X, V, FV, lambda(Y, Ti, Bi), lambda(Y1, To, Bo)).
subst(X, V, FV, forall(Y, Ti, Bi), forall(Y1, To, Bo)) :-
declare -a VERSION
for i in $(ls "$PREFIX/sbin") ; do
echo -e $N')' $i
- VERSION[${#VERSION[*]}]=$i #bug#11946.
+ VERSION[${#VERSION[*]}]=$i # bug#11946.
N=$(($N + 1))
done