* lisp/subr.el (sit-for): Tweak docstring.

Fixes: debbugs:19381

* src/buffer.c (syms_of_buffer) <Vafter_change_functions>: fix docstring.
* build-aux/git-hooks/commit-msg (at_sign): Bump up line-length limit
to 78.
This commit is contained in:
Stefan Monnier 2014-12-15 15:09:04 -05:00
parent 061db13989
commit fb420e7789
6 changed files with 43 additions and 30 deletions

View file

@ -1,3 +1,8 @@
2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
* build-aux/git-hooks/commit-msg (at_sign): Bump up line-length limit
to 78.
2014-12-12 Paul Eggert <eggert@cs.ucla.edu> 2014-12-12 Paul Eggert <eggert@cs.ucla.edu>
Git ignore lib/std*.h Git ignore lib/std*.h

View file

@ -87,8 +87,8 @@ exec $awk '
status = 1 status = 1
} }
72 < length && $0 ~ space { 78 < length && $0 ~ space {
print "Line longer than 72 characters in commit message" print "Line longer than 78 characters in commit message"
status = 1 status = 1
} }

View file

@ -1,3 +1,7 @@
2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
* subr.el (sit-for): Tweak docstring (bug#19381).
2014-12-15 Dmitry Gutov <dgutov@yandex.ru> 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
* vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date' * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
@ -20,8 +24,8 @@
2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org> 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
* progmodes/python.el (python-shell-parse-command): Quote * progmodes/python.el (python-shell-parse-command):
`python-shell-interpreter`. (Bug#19289) Quote `python-shell-interpreter`. (Bug#19289)
2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca> 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
@ -60,8 +64,8 @@
2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org> 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
* progmodes/python.el (python-shell-completion-setup-code): Use * progmodes/python.el (python-shell-completion-setup-code):
__builtin__ module (or builtins in Python 3) and catch all errors Use __builtin__ module (or builtins in Python 3) and catch all errors
when importing readline and rlcompleter. when importing readline and rlcompleter.
2014-11-26 Stephen Berman <stephen.berman@gmx.net> 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
@ -113,8 +117,8 @@
2014-11-21 Eli Zaretskii <eliz@gnu.org> 2014-11-21 Eli Zaretskii <eliz@gnu.org>
* vc/vc-git.el (vc-git-command, vc-git--call): Bind * vc/vc-git.el (vc-git-command, vc-git--call):
coding-system-for-read and coding-system-for-write to Bind coding-system-for-read and coding-system-for-write to
vc-git-commits-coding-system. vc-git-commits-coding-system.
(vc-git-previous-revision): Use "~1" instead of "^", since the (vc-git-previous-revision): Use "~1" instead of "^", since the
latter is a special character for MS-Windows system shells. latter is a special character for MS-Windows system shells.
@ -155,8 +159,8 @@
2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org> 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
* progmodes/python.el (python-eldoc--get-doc-at-point): Strip * progmodes/python.el (python-eldoc--get-doc-at-point):
shell output before returning. (bug#18794) Strip shell output before returning. (bug#18794)
2014-11-16 Dmitry Gutov <dgutov@yandex.ru> 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
@ -177,13 +181,13 @@
2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org> 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
* progmodes/python.el (python-indent-calculate-levels): Fix * progmodes/python.el (python-indent-calculate-levels):
indentation behavior multiline dedenter statement. (Bug#18432) Fix indentation behavior multiline dedenter statement. (Bug#18432)
2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org> 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
* progmodes/python.el (python-indent-region): Use * progmodes/python.el (python-indent-region):
python-indent-line and skip special cases. (Bug#18843) Use python-indent-line and skip special cases. (Bug#18843)
2014-11-15 Michael Albinus <michael.albinus@gmx.de> 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
@ -196,8 +200,8 @@
2014-11-14 Ivan Andrus <darthandrus@gmail.com> 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
* progmodes/python.el (python-ffap-module-path): Use * progmodes/python.el (python-ffap-module-path):
`derived-mode-p' instead of equality test on `major-mode'. Use `derived-mode-p' instead of equality test on `major-mode'.
2014-11-13 Ulrich Müller <ulm@gentoo.org> 2014-11-13 Ulrich Müller <ulm@gentoo.org>
@ -247,8 +251,8 @@
2014-11-05 Alan Mackenzie <acm@muc.de> 2014-11-05 Alan Mackenzie <acm@muc.de>
Fix wrong bound to c-font-lock-declarators. Fixes bug #18948. Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
* progmodes/cc-fonts.el (c-font-lock-declarations): Pass * progmodes/cc-fonts.el (c-font-lock-declarations):
"(point-max)" as bound to c-font-lock-declarators, not "limit", as Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
the buffer is sometimes narrowed to less than "limit" (e.g., in the buffer is sometimes narrowed to less than "limit" (e.g., in
the presence of macros). the presence of macros).

View file

@ -2142,7 +2142,7 @@ keyboard-quit events while waiting for a valid input."
char)) char))
(defun sit-for (seconds &optional nodisp obsolete) (defun sit-for (seconds &optional nodisp obsolete)
"Perform redisplay, then wait for SECONDS seconds or until input is available. "Redisplay, then wait for SECONDS seconds. Stop when input is available.
SECONDS may be a floating-point value. SECONDS may be a floating-point value.
\(On operating systems that do not support waiting for fractions of a \(On operating systems that do not support waiting for fractions of a
second, floating-point values are rounded down to the nearest integer.) second, floating-point values are rounded down to the nearest integer.)
@ -2160,7 +2160,7 @@ floating point support."
(declare (advertised-calling-convention (seconds &optional nodisp) "22.1")) (declare (advertised-calling-convention (seconds &optional nodisp) "22.1"))
;; This used to be implemented in C until the following discussion: ;; This used to be implemented in C until the following discussion:
;; http://lists.gnu.org/archive/html/emacs-devel/2006-07/msg00401.html ;; http://lists.gnu.org/archive/html/emacs-devel/2006-07/msg00401.html
;; Then it was moved to C using an implementation based on an idle timer, ;; Then it was moved here using an implementation based on an idle timer,
;; which was then replaced by the use of read-event. ;; which was then replaced by the use of read-event.
(if (numberp nodisp) (if (numberp nodisp)
(setq seconds (+ seconds (* 1e-3 nodisp)) (setq seconds (+ seconds (* 1e-3 nodisp))

View file

@ -1,11 +1,15 @@
2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
* buffer.c (syms_of_buffer) <Vafter_change_functions>: fix docstring.
2014-12-13 Eli Zaretskii <eliz@gnu.org> 2014-12-13 Eli Zaretskii <eliz@gnu.org>
* gnutls.c (gnutls_init): Fix deprecation warning from GCC. * gnutls.c (gnutls_init): Fix deprecation warning from GCC.
2014-12-12 Eli Zaretskii <eliz@gnu.org> 2014-12-12 Eli Zaretskii <eliz@gnu.org>
* gnutls.c (Fgnutls_available_p, syms_of_gnutls): Move * gnutls.c (Fgnutls_available_p, syms_of_gnutls):
gnutls-available-p out of the HAVE_GNUTLS conditional, and define Move gnutls-available-p out of the HAVE_GNUTLS conditional, and define
them only once. them only once.
2014-12-11 Teodor Zlatanov <tzz@lifelogs.com> 2014-12-11 Teodor Zlatanov <tzz@lifelogs.com>
@ -21,8 +25,8 @@
2014-12-10 Eli Zaretskii <eliz@gnu.org> 2014-12-10 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (move_it_in_display_line_to, display_line): Don't * xdisp.c (move_it_in_display_line_to, display_line):
disallow overflow-newline-into-fringe when word-wrap is in Don't disallow overflow-newline-into-fringe when word-wrap is in
effect. (Bug#19300) effect. (Bug#19300)
2014-12-04 Lee Duhem <lee.duhem@gmail.com> (tiny change) 2014-12-04 Lee Duhem <lee.duhem@gmail.com> (tiny change)
@ -78,8 +82,8 @@
2014-11-15 Eli Zaretskii <eliz@gnu.org> 2014-11-15 Eli Zaretskii <eliz@gnu.org>
* window.c (window_scroll_pixel_based): Avoid truncation/rounding * window.c (window_scroll_pixel_based): Avoid truncation/rounding
errors in computing the number of pixels to scroll. Suggested by errors in computing the number of pixels to scroll.
Kelly Dean <kelly@prtime.org>. (Bug#19060) Suggested by Kelly Dean <kelly@prtime.org>. (Bug#19060)
2014-11-15 Jan Djärv <jan.h.d@swipnet.se> 2014-11-15 Jan Djärv <jan.h.d@swipnet.se>
@ -190,8 +194,8 @@
2014-10-26 Eli Zaretskii <eliz@gnu.org> 2014-10-26 Eli Zaretskii <eliz@gnu.org>
* dispnew.c (buffer_posn_from_coords): Use * dispnew.c (buffer_posn_from_coords):
WINDOW_WANTS_HEADER_LINE_P, not WINDOW_WANTS_MODELINE_P, to Use WINDOW_WANTS_HEADER_LINE_P, not WINDOW_WANTS_MODELINE_P, to
account for the header-line height. (Bug#18839) account for the header-line height. (Bug#18839)
2014-10-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 2014-10-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>

View file

@ -6092,9 +6092,9 @@ from happening repeatedly and making Emacs nonfunctional. */);
doc: /* List of functions to call after each text change. doc: /* List of functions to call after each text change.
Three arguments are passed to each function: the positions of Three arguments are passed to each function: the positions of
the beginning and end of the range of changed text, the beginning and end of the range of changed text,
and the length in bytes of the pre-change text replaced by that range. and the length in chars of the pre-change text replaced by that range.
\(For an insertion, the pre-change length is zero; \(For an insertion, the pre-change length is zero;
for a deletion, that length is the number of bytes deleted, for a deletion, that length is the number of chars deleted,
and the post-change beginning and end are at the same place.) and the post-change beginning and end are at the same place.)
Buffer changes made while executing the `after-change-functions' Buffer changes made while executing the `after-change-functions'