Mercurial > emacs
comparison lisp/mh-e/mh-mime.el @ 67760:9c3504ae6060
Follow MH-E Developers Guide conventions. Use `' quotes for Help
hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
everything else. Otherwise, you can accidently get links to
nonsense symbols.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Fri, 23 Dec 2005 08:40:31 +0000 |
parents | b7b75914a27d |
children | 3ca8b2234237 |
comparison
equal
deleted
inserted
replaced
67759:b7b75914a27d | 67760:9c3504ae6060 |
---|---|
467 (revert-buffer t t) | 467 (revert-buffer t t) |
468 (message "Running %s...done" (if (mh-variant-p 'nmh) "mhbuild" "mhn")) | 468 (message "Running %s...done" (if (mh-variant-p 'nmh) "mhbuild" "mhn")) |
469 (run-hooks 'mh-mh-to-mime-hook)) | 469 (run-hooks 'mh-mh-to-mime-hook)) |
470 | 470 |
471 (defun mh-mh-quote-unescaped-sharp () | 471 (defun mh-mh-quote-unescaped-sharp () |
472 "Quote `#' characters that haven't been quoted for \"mhbuild\". | 472 "Quote \"#\" characters that haven't been quoted for \"mhbuild\". |
473 If the `#' character is present in the first column, but it isn't | 473 If the \"#\" character is present in the first column, but it isn't |
474 part of a MH-style directive then \"mhbuild\" gives an error. | 474 part of a MH-style directive then \"mhbuild\" gives an error. |
475 This function will quote all such characters." | 475 This function will quote all such characters." |
476 (save-excursion | 476 (save-excursion |
477 (goto-char (point-min)) | 477 (goto-char (point-min)) |
478 (while (re-search-forward "^#" nil t) | 478 (while (re-search-forward "^#" nil t) |
602 You are prompted for the filename containing the object, the | 602 You are prompted for the filename containing the object, the |
603 media type if it cannot be determined automatically, a content | 603 media type if it cannot be determined automatically, a content |
604 description and the DISPOSITION of the attachment. | 604 description and the DISPOSITION of the attachment. |
605 | 605 |
606 This is basically `mml-attach-file' from Gnus, modified such that a prefix | 606 This is basically `mml-attach-file' from Gnus, modified such that a prefix |
607 argument yields an `inline' disposition and Content-Type is determined | 607 argument yields an \"inline\" disposition and Content-Type is determined |
608 automatically." | 608 automatically." |
609 (let* ((file (mml-minibuffer-read-file "Attach file: ")) | 609 (let* ((file (mml-minibuffer-read-file "Attach file: ")) |
610 (type (mh-minibuffer-read-type file)) | 610 (type (mh-minibuffer-read-type file)) |
611 (description (mml-minibuffer-read-description)) | 611 (description (mml-minibuffer-read-description)) |
612 (dispos (or disposition | 612 (dispos (or disposition |