# HG changeset patch # User Karl Heuer # Date 910812684 0 # Node ID 3267bdc78ccac06cb66c1f8d88d5e0d6ecc8bc76 # Parent bc6f9afd4daa9cc6d8d7f9284db3f78194baf430 (desktop-save, desktop-create-buffer): Undo 10-22 change. diff -r bc6f9afd4daa -r 3267bdc78cca lisp/desktop.el --- a/lisp/desktop.el Wed Nov 11 19:04:33 1998 +0000 +++ b/lisp/desktop.el Wed Nov 11 19:31:24 1998 +0000 @@ -432,13 +432,8 @@ (buffer-file-name) (buffer-name) major-mode - (let (ret) - (mapcar #'(lambda (minor-mode) - (and (symbol-value minor-mode) - (setq ret (cons minor-mode - ret)))) - (mapcar #'car minor-mode-alist)) - ret) + (list ; list explaining minor modes + (not (null auto-fill-function))) (point) (list (mark t) mark-active) buffer-read-only @@ -606,9 +601,7 @@ (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) (progn