Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Stefan Monnier
bad4122976
* lisp/emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
...
even in case of error; add debug spec; simplify data flow.
(with-timeout-handler): Remove.
2011-10-13 01:18:12 -04:00
Paul Eggert
08235028a6
* emacs-lisp/timer.el (timer--time-less-p): Use time-less-p.
2011-07-03 23:25:23 -07:00
Paul Eggert
f34755dce2
* emacs-lisp/timer.el (timer-until): Use time-subtract and float-time.
2011-07-03 23:23:54 -07:00
Paul Eggert
fe955043aa
* emacs-lisp/timer.el (timer-relative-time): Use time-add.
2011-06-30 18:27:40 -07:00
Chong Yidong
7dbe3dbc59
Doc fixes for timer.el (Bug#8793).
...
* emacs-lisp/timer.el (timer-activate): Remove unused arg.
(timer-activate, timer-activate-when-idle): Doc fix.
2011-06-04 18:46:26 -04:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Glenn Morris
9a0dd02d20
Support for systems without floats was removed a decade ago.
...
* lisp/loadup.el: Unconditionally load float-sup.
* lisp/paren.el (show-paren-delay):
* lisp/emacs-lisp/float-sup.el:
* lisp/emulation/cua-base.el (cua-prefix-override-inhibit-delay):
* lisp/obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
(lazy-lock-stealth-verbose): Assume float support.
* lisp/ps-print.el: Assume float support on Emacs.
* lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
Remove non-float branch.
* lisp/obsolete/lazy-lock.el: Remove leading `*' from defcustom docs.
2010-10-21 21:03:55 -07:00
Stefan Monnier
f291fe60fb
Use `declare' in defmacros.
...
* lisp/window.el (save-selected-window):
* lisp/subr.el (with-temp-file, with-temp-message, with-syntax-table):
* lisp/progmodes/python.el (def-python-skeleton):
* lisp/net/dbus.el (dbus-ignore-errors):
* lisp/jka-cmpr-hook.el (with-auto-compression-mode):
* lisp/international/mule.el (with-category-table):
* lisp/emacs-lisp/timer.el (with-timeout):
* lisp/emacs-lisp/lisp-mnt.el (lm-with-file):
* lisp/emacs-lisp/eieio.el (with-slots):
* lisp/emacs-lisp/easymenu.el (easy-menu-define):
* lisp/emacs-lisp/debug.el (debugger-env-macro):
* lisp/emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
(Multiple-value-call, Multiple-value-prog1):
* lisp/emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
(cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
edebug rule to definition.
* lisp/emacs-lisp/lisp-mode.el (save-selected-window)
(with-current-buffer, combine-after-change-calls)
(with-output-to-string, with-temp-file, with-temp-buffer)
(with-temp-message, with-syntax-table, read-if, eval-after-load)
(dolist, dotimes, when, unless):
* lisp/emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2010-08-30 15:03:05 +02:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Stefan Monnier
0798a8d85c
* lisp/emacs-lisp/timer.el (timer-event-handler): Protect against timers
...
that change current buffer.
2010-08-02 11:00:46 +02:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Dan Nicolaescu
2f7f4beee9
* progmodes/grep.el (grep-regexp-alist):
...
* international/mule-cmds.el (iso-2022-control-alist):
* emacs-lisp/timer.el (timer-duration-words):
* subr.el (version-separator, version-regexp-alist):
* minibuffer.el (completion-styles-alist):
* faces.el (face-attribute-name-alist, list-faces-sample-text):
Change defvars to defconsts.
2009-11-11 06:36:41 +00:00
Glenn Morris
5b66944704
Comment.
2009-09-02 03:17:18 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Juanma Barranquero
64ba814f12
* calendar/diary-lib.el (diary-cyclic): Doc fix.
...
(diary-remind-message, diary-number-of-entries)
(diary-include-other-diary-files, diary-mark-included-diary-files)
(diary-view-entries, diary-date, diary-block, diary-insert-entry-1)
(diary-font-lock-keywords-1): Reflow docstrings.
(diary-add-to-list, calendar-mark-1, diary-entry-time, diary-make-date)
(diary-anniversary, diary-date-display-form): Fix typos in docstrings.
* emacs-lisp/timer.el (timer-duration-words): Fix typo in docstring.
(timer-duration): Use `string-match-p'.
2008-11-30 01:01:18 +00:00
Glenn Morris
d6cba7ae45
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 03:21:21 +00:00
Stefan Monnier
e0f0f3efb4
(timer): Define as a defstruct, so we can name the fields, to make the
...
code clearer. Rewrite all `aset' and `aref' using the defined accessors.
(timer--time): New pseudo-field.
(timer-set-time, timer-set-idle-time, timer-inc-time)
(timer-set-time-with-usecs, with-timeout-suspend): Use it.
(timer--time-less-p): New function.
(timer--activate): New function, extracted from timer-activate.
(timer-activate-when-idle, timer-activate): Use it.
(cancel-function-timers): Use dolist.
2008-04-03 03:43:18 +00:00
Dan Nicolaescu
f31b125795
* faces.el (xw-defined-colors):
...
* simple.el (widget-convert, shell-mode): Declare as functions
instead of autoloading.
* abbrev.el:
* button.el:
* cus-face.el:
* ediff-hook.el:
* emacs-lisp/backquote.el:
* emacs-lisp/timer.el:
* facemenu.el:
* faces.el:
* menu-bar.el:
* simple.el:
* subr.el:
* textmodes/fill.el:
* textmodes/paragraphs.el: Remove autoloads, redundant when the
files are preloaded.
2008-03-14 17:42:18 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88
Add 2008 to copyright years.
2008-01-07 01:14:52 +00:00
Glenn Morris
5cec305694
Remove directory part from filenames in function declarations.
2007-12-06 04:09:57 +00:00
Dan Nicolaescu
153ef845b8
* progmodes/idlw-help.el: Require browse-url unconditionally, it
...
is available by default.
(idlwave-help-browse-url-available): Change default to t.
* emulation/edt.el (defgroup, defcustom): Remove definition.
(eval-when-compile): Remove.
(c-mark-function):
* textmodes/reftex-dcr.el (bibtex-beginning-of-entry):
* textmodes/fill.el (comment-search-forward)
(comment-string-strip):
* progmodes/prolog.el (comint-mode, comint-send-string)
(comint-send-region, comint-send-eof):
* progmodes/dcl-mode.el (imenu-default-create-index-function):
* emulation/viper-util.el (viper-forward-Word):
* emulation/vi.el (c-mark-function):
* emulation/edt-vt100.el (vt100-wide-mode):
* emacs-lisp/timer.el (diary-entry-time): Declare as functions.
* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
Declare as functions.
* url-privacy.el (url-device-type): Define unconditionally.
2007-11-20 00:57:10 +00:00
Glenn Morris
e0085d62fa
Switch license to GPLv3 or later.
2007-07-25 04:14:29 +00:00
Glenn Morris
b9be25fd10
(run-at-time): Doc fix.
2007-03-31 23:22:35 +00:00
Glenn Morris
f0fa15c5e5
Add 2007 to copyright years.
2007-01-21 02:48:43 +00:00
Glenn Morris
d59c31376c
Update copyright years.
2006-12-07 05:06:17 +00:00
Richard M. Stallman
e00c3f6fb6
(timer-max-repeats): Doc fix.
2006-09-24 20:39:52 +00:00
Richard M. Stallman
b8bd37f2f8
(timer-create, timer-activate): Doc fixes.
...
(cancel-timer-internal): Add doc string.
(cancel-function-timers): Doc fix.
(with-timeout-handler, timer-event-last*): Add doc strings.
2006-09-08 12:00:40 +00:00
Chong Yidong
1063efe807
* emacs-lisp/timer.el (timer-set-idle-time, run-with-idle-timer):
...
Accept internal time format for SECS arg.
(timer-relative-time): Doc fix.
* jit-lock.el: "Stealth fontification by requeuing timers" patch,
adapted from Martin Rudalics.
(jit-lock-stealth-repeat-timer, jit-lock-stealth-buffers): New vars.
(jit-lock-mode): Create jit-lock-stealth-repeat-timer.
(jit-lock-stealth-fontify): Reschedule as a idle timer instead of
using sit-for.
2006-08-24 23:40:00 +00:00
Richard M. Stallman
171d328e8d
(run-with-idle-timer): Pass t to timer-activate-when-idle, so timer
...
can run before Emacs becomes non-idle again.
2006-08-20 12:16:26 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00
Richard M. Stallman
dbbee52991
(timer-activate, timer-activate-when-idle): New arg REUSE-CELL.
...
(cancel-timer-internal): New function.
(timer-event-handler): Use cancel-timer-internal,
and pass the cell it returns to timer-activate...
2005-10-29 19:47:23 +00:00
Thien-Thi Nguyen
3731a85096
Update years in copyright notice; nfc.
2005-08-06 17:48:15 +00:00
Richard M. Stallman
89c020e85d
(with-timeout-timers): New variable.
...
(with-timeout): Bind that variable to record timers.
(with-timeout-suspend, with-timeout-unsuspend): New functions.
2005-07-10 17:18:25 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Juanma Barranquero
7452fadcb3
(with-timeout): Improve argument/docstring consistency.
2005-07-04 01:22:30 +00:00
Kim F. Storm
bf247b6ed0
Change release version from 21.4 to 22.1 throughout.
...
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Kim F. Storm
8cb7feb8b1
(timer-event-handler): Fix last change.
2004-05-16 21:43:57 +00:00
Kim F. Storm
6160f9334e
(timer-activate): Add optional arg triggered-p.
...
Use it to set triggered-p element of timer.
(timer-event-handler): Set triggered-p element non-nil while running
the timer function.
2004-05-14 23:09:35 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
5e046f6d57
Moved from lisp/.
2003-05-30 23:31:15 +00:00