1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Merge from origin/emacs-24

5e0314f * smie.el (smie*ward-sexp-command): Don't pretend the arg is optional
13cf575 Don't round up scroll bar width with GTK3 (Bug#20182).
921dd0d * doc/lispref/objects.texi (Equality Predicates): Fix typo in example.

Conflicts:
	doc/lispref/ChangeLog
	lisp/ChangeLog
	src/ChangeLog
This commit is contained in:
Paul Eggert 2015-03-29 14:14:15 -07:00
commit 0479a1b62c
6 changed files with 36 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2015-03-29 Glenn Morris <rgm@gnu.org>
* objects.texi (Equality Predicates): Fix typo in example.
2015-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
* positions.texi (Excursions, Narrowing): `save-excursion' does not

View File

@ -2135,12 +2135,12 @@ that for two strings to be equal, they have the same text properties.
@example
@group
(equal "asdf" (propertize "asdf" '(asdf t)))
(equal "asdf" (propertize "asdf" 'asdf t))
@result{} t
@end group
@group
(equal-including-properties "asdf"
(propertize "asdf" '(asdf t)))
(propertize "asdf" 'asdf t))
@result{} nil
@end group
@end example

View File

@ -1,3 +1,24 @@
2015-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/smie.el (smie-backward-sexp-command)
(smie-forward-sexp-command): Don't pretend the arg is optional
(bug#20205).
2015-03-29 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
Detect regexps after `!'. (Bug#19285)
* progmodes/ruby-mode.el (ruby-font-lock-keywords):
Use `font-lock-constant-face' for nil, true and false.
Highlight `self' as a keyword. (Bug#17733)
2015-03-29 Nobuyoshi Nakada <nobu@ruby-lang.org>
* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
Expect beginning of regexp also after open brace or vertical bar.
(Bug#20026)
2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
* emacs-lisp/package.el (package-refresh-contents): Fix spelling

View File

@ -837,12 +837,12 @@ Possible return values:
;;; Miscellaneous commands using the precedence parser.
(defun smie-backward-sexp-command (&optional n)
(defun smie-backward-sexp-command (n)
"Move backward through N logical elements."
(interactive "^p")
(smie-forward-sexp-command (- n)))
(defun smie-forward-sexp-command (&optional n)
(defun smie-forward-sexp-command (n)
"Move forward through N logical elements."
(interactive "^p")
(let ((forw (> n 0))

View File

@ -1,3 +1,8 @@
2015-03-29 Martin Rudalics <rudalics@gmx.at>
* gtkutil.c (update_theme_scrollbar_width): Don't round up
scroll bar width with GTK3 (Bug#20182).
2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
* xsmfns.c (smc_save_yourself_CB): Return if Vinvocation_name or

View File

@ -3516,7 +3516,9 @@ update_theme_scrollbar_width (void)
gtk_widget_destroy (wscroll);
g_object_unref (G_OBJECT (wscroll));
w += 2*b;
#ifndef HAVE_GTK3
if (w < 16) w = 16;
#endif
scroll_bar_width_for_theme = w;
}