summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/timer.el
Commit message (Collapse)AuthorAgeFilesLines
* Support for systems without floats was removed a decade ago.Glenn Morris2010-10-211-26/+14
| | | | | | | | | | | | | | * 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.
* Use `declare' in defmacros.Stefan Monnier2010-08-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
|
* * lisp/emacs-lisp/timer.el (timer-event-handler): Protect against timersStefan Monnier2010-08-021-1/+5
| | | | that change current buffer.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * progmodes/grep.el (grep-regexp-alist):Dan Nicolaescu2009-11-111-1/+1
| | | | | | | | | * 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.
* Comment.Glenn Morris2009-09-021-3/+3
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* * calendar/diary-lib.el (diary-cyclic): Doc fix.Juanma Barranquero2008-11-301-3/+3
| | | | | | | | | | | | (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'.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (timer): Define as a defstruct, so we can name the fields, to make theStefan Monnier2008-04-031-118/+94
| | | | | | | | | | | 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.
* * faces.el (xw-defined-colors):Dan Nicolaescu2008-03-141-9/+2
| | | | | | | | | | | | | | | | | | | | * 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.
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | Remove directory part from filenames in function declarations.Glenn Morris2007-12-061-1/+1
| |
* | * progmodes/idlw-help.el: Require browse-url unconditionally, itDan Nicolaescu2007-11-201-0/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (run-at-time): Doc fix.Glenn Morris2007-03-311-6/+11
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update copyright years.Glenn Morris2006-12-071-1/+1
|
* (timer-max-repeats): Doc fix.Richard M. Stallman2006-09-241-1/+5
|
* (timer-create, timer-activate): Doc fixes.Richard M. Stallman2006-09-081-8/+20
| | | | | | (cancel-timer-internal): Add doc string. (cancel-function-timers): Doc fix. (with-timeout-handler, timer-event-last*): Add doc strings.
* * emacs-lisp/timer.el (timer-set-idle-time, run-with-idle-timer):Chong Yidong2006-08-241-6/+15
| | | | | | | | | | | | 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.
* (run-with-idle-timer): Pass t to timer-activate-when-idle, so timerRichard M. Stallman2006-08-201-1/+3
| | | | can run before Emacs becomes non-idle again.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+2
|
* (timer-activate, timer-activate-when-idle): New arg REUSE-CELL.Richard M. Stallman2005-10-291-13/+41
| | | | | | (cancel-timer-internal): New function. (timer-event-handler): Use cancel-timer-internal, and pass the cell it returns to timer-activate...
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+1
|
* (with-timeout-timers): New variable.Richard M. Stallman2005-07-101-1/+31
| | | | | (with-timeout): Bind that variable to record timers. (with-timeout-suspend, with-timeout-unsuspend): New functions.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (with-timeout): Improve argument/docstring consistency.Juanma Barranquero2005-07-041-4/+3
|
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-1/+1
| | | | Change development version from 21.3.50 to 22.0.50.
* (timer-event-handler): Fix last change.Kim F. Storm2004-05-161-1/+1
|
* (timer-activate): Add optional arg triggered-p.Kim F. Storm2004-05-141-5/+8
| | | | | | Use it to set triggered-p element of timer. (timer-event-handler): Set triggered-p element non-nil while running the timer function.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* Moved from lisp/.Juanma Barranquero2003-05-301-0/+479