Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
dffd3124
Commit
dffd3124
authored
Jan 08, 1993
by
Roland McGrath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(run-at-time): Use a pipe to talk to the timer process.
parent
507876f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/timer.el
lisp/timer.el
+3
-2
No files found.
lisp/timer.el
View file @
dffd3124
;;; timer.el --- run a function with args at some time in future
;; Copyright (C) 1990 Free Software Foundation, Inc.
;; Copyright (C) 1990
, 1993
Free Software Foundation, Inc.
;; Maintainer: FSF
...
...
@@ -41,7 +41,8 @@ the call to the function. If REPEAT is nil, call it just once."
(
cond
((
or
(
not
timer-process
)
(
memq
(
process-status
timer-process
)
'
(
exit
signal
nil
)))
(
if
timer-process
(
delete-process
timer-process
))
(
setq
timer-process
(
start-process
"timer"
nil
"timer"
)
(
setq
timer-process
(
let
((
process-connection-type
nil
))
(
start-process
"timer"
nil
"timer"
))
timer-alist
nil
)
(
set-process-filter
timer-process
'timer-process-filter
)
(
set-process-sentinel
timer-process
'timer-process-sentinel
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment