+2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
+
+ * mail/sendmail.el (mail-recover-1, mail-recover):
+ * files.el (recover-file, recover-session):
+ Handle dired-listing-switches not being just a single short option.
+
2011-06-09 Glenn Morris <rgm@gnu.org>
* calendar/appt.el (appt-display-message, appt-disp-window):
(save-excursion
(let ((switches dired-listing-switches))
(if (file-symlink-p file)
- (setq switches (concat switches "L")))
+ (setq switches (concat switches " -L")))
(set-buffer standard-output)
;; Use insert-directory-safely, not insert-directory,
;; because these files might not exist. In particular,
(error "No previous sessions to recover")))
(let ((ls-lisp-support-shell-wildcards t))
(dired (concat auto-save-list-file-prefix "*")
- (concat dired-listing-switches "t")))
+ (concat dired-listing-switches " -t")))
(save-excursion
(goto-char (point-min))
(or (looking-at " Move to the session you want to recover,")
;; unbound on exit from the let.
(require 'dired)
(let ((dired-trivial-filenames t))
- (dired-other-window wildcard (concat dired-listing-switches "t")))
+ (dired-other-window wildcard (concat dired-listing-switches " -t")))
(rename-buffer "*Auto-saved Drafts*" t)
(save-excursion
(goto-char (point-min))
;; `ls' is not a standard program (it will use
;; ls-lisp instead).
(dired-noselect file-name
- (concat dired-listing-switches "t"))))
+ (concat dired-listing-switches " -t"))))
(save-selected-window
(select-window (display-buffer dispbuf t))
(goto-char (point-min))