aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-04-14 21:44:04 +0000
committerRichard M. Stallman1993-04-14 21:44:04 +0000
commit30c9c6d7502f2d0b481cd31da2bc05601a122787 (patch)
tree34adee5b55f18b4bc310054a92196b23720d0038
parent078380acff7d2cb631f3e8870fa78e344329c003 (diff)
downloademacs-30c9c6d7502f2d0b481cd31da2bc05601a122787.tar.gz
emacs-30c9c6d7502f2d0b481cd31da2bc05601a122787.zip
(resume-suspend-hook): Renamed from resume-empty-args-file.
-rw-r--r--lisp/resume.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/resume.el b/lisp/resume.el
index 3e76dada52c..57019bed65e 100644
--- a/lisp/resume.el
+++ b/lisp/resume.el
@@ -80,10 +80,7 @@
80;; The "-nw" switch to Emacs means no windowing system. 80;; The "-nw" switch to Emacs means no windowing system.
81 81
82;; Insert this in your .emacs file: 82;; Insert this in your .emacs file:
83;;(setq suspend-resume-hook 'resume-process-args) 83;;(add-hook 'suspend-hook 'resume-suspend-hook)
84;;(setq suspend-hooks 'resume-empty-args-file)
85;;(autoload 'resume-empty-args-file "resume")
86;;(autoload 'resume-process-args "resume")
87 84
88;; Finally, put the rest in a file named "resume.el" in a lisp library 85;; Finally, put the rest in a file named "resume.el" in a lisp library
89;; directory. 86;; directory.
@@ -145,7 +142,7 @@
145 (set-buffer start-buffer))))) 142 (set-buffer start-buffer)))))
146 143
147;;;###autoload 144;;;###autoload
148(defun resume-empty-args-file () 145(defun resume-suspend-hook ()
149 "Clear out the file used for transmitting args when Emacs resumes." 146 "Clear out the file used for transmitting args when Emacs resumes."
150 (save-excursion 147 (save-excursion
151 (set-buffer (get-buffer-create resume-emacs-args-buffer)) 148 (set-buffer (get-buffer-create resume-emacs-args-buffer))