diff options
| author | Miles Bader | 2007-12-29 02:39:17 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-12-29 02:39:17 +0000 |
| commit | a0c92ed92d3d62d4926dafb1d595d87843df4688 (patch) | |
| tree | 78f12dd6f97a0f96b846fbf08e3f8ce39a701f8e /lisp/mail | |
| parent | 9aeb99f00a02c695b14f2ee349141eb9641ca6da (diff) | |
| parent | 870356897e927f380841268667a92b40fb9e6782 (diff) | |
| download | emacs-a0c92ed92d3d62d4926dafb1d595d87843df4688.tar.gz emacs-a0c92ed92d3d62d4926dafb1d595d87843df4688.zip | |
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-306
Diffstat (limited to 'lisp/mail')
| -rw-r--r-- | lisp/mail/feedmail.el | 16 | ||||
| -rw-r--r-- | lisp/mail/footnote.el | 7 |
2 files changed, 4 insertions, 19 deletions
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index ab8611424db..9b52b1dcbbd 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el | |||
| @@ -286,22 +286,6 @@ | |||
| 286 | 286 | ||
| 287 | (defconst feedmail-patch-level "8") | 287 | (defconst feedmail-patch-level "8") |
| 288 | 288 | ||
| 289 | |||
| 290 | ;; from <URL:http://www.dina.kvl.dk/~abraham/custom/>: | ||
| 291 | ;; If you write software that must work without the new custom, you | ||
| 292 | ;; can use this hack stolen from w3-cus.el: | ||
| 293 | (eval-and-compile | ||
| 294 | (condition-case () | ||
| 295 | (require 'custom) | ||
| 296 | (error nil)) | ||
| 297 | (if (and (featurep 'custom) (fboundp 'custom-declare-variable)) | ||
| 298 | nil ;; We've got what we needed | ||
| 299 | ;; We have the old custom-library, hack around it! | ||
| 300 | (defmacro defgroup (&rest args) | ||
| 301 | nil) | ||
| 302 | (defmacro defcustom (var value doc &rest args) | ||
| 303 | `(defvar ,var ,value ,doc)))) | ||
| 304 | |||
| 305 | (eval-when-compile (require 'smtpmail)) | 289 | (eval-when-compile (require 'smtpmail)) |
| 306 | (autoload 'mail-do-fcc "sendmail") | 290 | (autoload 'mail-do-fcc "sendmail") |
| 307 | 291 | ||
diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el index b94f3bc8297..a3a9cfc8058 100644 --- a/lisp/mail/footnote.el +++ b/lisp/mail/footnote.el | |||
| @@ -327,7 +327,8 @@ Conversion is done based upon the current selected style." | |||
| 327 | (defun Footnote-current-regexp () | 327 | (defun Footnote-current-regexp () |
| 328 | "Return the regexp of the index of the current style." | 328 | "Return the regexp of the index of the current style." |
| 329 | (concat (nth 2 (or (assq footnote-style footnote-style-alist) | 329 | (concat (nth 2 (or (assq footnote-style footnote-style-alist) |
| 330 | (nth 0 footnote-style-alist))) "*")) | 330 | (nth 0 footnote-style-alist))) |
| 331 | "*")) | ||
| 331 | 332 | ||
| 332 | (defun Footnote-refresh-footnotes (&optional index-regexp) | 333 | (defun Footnote-refresh-footnotes (&optional index-regexp) |
| 333 | "Redraw all footnotes. | 334 | "Redraw all footnotes. |
| @@ -345,7 +346,7 @@ styles." | |||
| 345 | (search-backward footnote-start-tag nil t) | 346 | (search-backward footnote-start-tag nil t) |
| 346 | (when (looking-at (concat | 347 | (when (looking-at (concat |
| 347 | (regexp-quote footnote-start-tag) | 348 | (regexp-quote footnote-start-tag) |
| 348 | "\\(" index-regexp "\\)" | 349 | "\\(" index-regexp "+\\)" |
| 349 | (regexp-quote footnote-end-tag))) | 350 | (regexp-quote footnote-end-tag))) |
| 350 | (replace-match (concat | 351 | (replace-match (concat |
| 351 | footnote-start-tag | 352 | footnote-start-tag |
| @@ -361,7 +362,7 @@ styles." | |||
| 361 | (goto-char (cdr alist)) | 362 | (goto-char (cdr alist)) |
| 362 | (when (looking-at (concat | 363 | (when (looking-at (concat |
| 363 | (regexp-quote footnote-start-tag) | 364 | (regexp-quote footnote-start-tag) |
| 364 | "\\(" index-regexp "\\)" | 365 | "\\(" index-regexp "+\\)" |
| 365 | (regexp-quote footnote-end-tag))) | 366 | (regexp-quote footnote-end-tag))) |
| 366 | (replace-match (concat | 367 | (replace-match (concat |
| 367 | footnote-start-tag | 368 | footnote-start-tag |