aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))