Commit 201006c4 authored by Karl Heuer's avatar Karl Heuer

(desktop-save, desktop-create-buffer): Undo 10-22 change.

parent 4e746fa8
......@@ -432,13 +432,8 @@ MODE is the major mode."
(let (ret)
(mapcar #'(lambda (minor-mode)
(and (symbol-value minor-mode)
(setq ret (cons minor-mode
(mapcar #'car minor-mode-alist))
(list ; list explaining minor modes
(not (null auto-fill-function)))
(list (mark t) mark-active)
......@@ -606,9 +601,7 @@ to provide correct modes for autoloaded files."
(set-buffer result)
(if (not (equal (buffer-name) desktop-buffer-name))
(rename-buffer desktop-buffer-name))
(cond ((equal '(t) mim) (auto-fill-mode 1)) ; backwards compatible
((equal '(nil) mim) (auto-fill-mode 0))
(t (mapcar #'(lambda (minor-mode) (funcall minor-mode 1)) mim)))
(auto-fill-mode (if (nth 0 mim) 1 0))
(goto-char pt)
(if (consp mk)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment