X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fmm-util.el;h=ab9145f8b1c47d1893547cfa2984d49bc0429b8d;hb=37b1b9ea0c7f7482525330d35a752bdd3ba43d68;hp=b2e0ee66d9c466b06d3c8c961c42a07a961b0459;hpb=b83561e18ceb438203812786590893bd5fc2a6cc;p=gnus diff --git a/lisp/mm-util.el b/lisp/mm-util.el index b2e0ee66d..ab9145f8b 100644 --- a/lisp/mm-util.el +++ b/lisp/mm-util.el @@ -1058,11 +1058,10 @@ This affects whether coding conversion should be attempted generally." (length (memq (coding-system-base b) priorities))) t)))) -(eval-when-compile - (autoload 'latin-unity-massage-name "latin-unity") - (autoload 'latin-unity-maybe-remap "latin-unity") - (autoload 'latin-unity-representations-feasible-region "latin-unity") - (autoload 'latin-unity-representations-present-region "latin-unity")) +(declare-function latin-unity-massage-name "ext:latin-unity") +(declare-function latin-unity-maybe-remap "ext:latin-unity") +(declare-function latin-unity-representations-feasible-region "ext:latin-unity") +(declare-function latin-unity-representations-present-region "ext:latin-unity") (defvar latin-unity-coding-systems) (defvar latin-unity-ucs-list) @@ -1241,9 +1240,9 @@ better ways to do a similar thing. The previous version of this macro bound the default value of `enable-multibyte-characters' to nil while evaluating FORMS but it is no longer done. So, some programs assuming it if any may malfunction." + (declare (obsolete nil "25.1") (indent 0) (debug t)) (if (featurep 'xemacs) `(progn ,@forms) - (message "Warning: Using brain-dead macro `mm-with-unibyte-current-buffer'!") (let ((multibyte (make-symbol "multibyte"))) `(let ((,multibyte enable-multibyte-characters)) (when ,multibyte @@ -1252,9 +1251,6 @@ it if any may malfunction." (progn ,@forms) (when ,multibyte (set-buffer-multibyte t))))))) -(put 'mm-with-unibyte-current-buffer 'lisp-indent-function 0) -(put 'mm-with-unibyte-current-buffer 'edebug-form-spec '(body)) -(make-obsolete 'mm-with-unibyte-current-buffer nil "25.1") (defun mm-find-charset-region (b e) "Return a list of Emacs charsets in the region B to E."