* cosmetics

This commit is contained in:
djcb
2012-09-20 21:25:55 +03:00
parent d7ef2166a7
commit 3fe6eec8e0
4 changed files with 14 additions and 13 deletions

View File

@ -83,8 +83,8 @@ gchar* mu_util_guess_mu_homedir (void)
* @return TRUE if a read/writeable directory `path' exists after * @return TRUE if a read/writeable directory `path' exists after
* leaving this function, FALSE otherwise * leaving this function, FALSE otherwise
*/ */
gboolean mu_util_create_dir_maybe (const gchar *path, mode_t mode, gboolean nowarn) gboolean mu_util_create_dir_maybe (const gchar *path, mode_t mode,
G_GNUC_WARN_UNUSED_RESULT; gboolean nowarn) G_GNUC_WARN_UNUSED_RESULT;
/** /**
* check whether path is a directory, and optionally, if it's readable * check whether path is a directory, and optionally, if it's readable

View File

@ -860,7 +860,8 @@ all messages in the thread at point in the headers view."
(read-number (mu4e-format "%s (1-%d): " prompt count))) (read-number (mu4e-format "%s (1-%d): " prompt count)))
(progn (progn
(setq def (if (= count 1) "1" (format "1-%d" count))) (setq def (if (= count 1) "1" (format "1-%d" count)))
(read-string (mu4e-format "%s (default %s): " prompt def) nil nil def))))) (read-string (mu4e-format "%s (default %s): " prompt def)
nil nil def)))))
(defun mu4e~view-get-attach (msg attnum) (defun mu4e~view-get-attach (msg attnum)
"Return the attachment plist in MSG corresponding to attachment "Return the attachment plist in MSG corresponding to attachment