X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=blobdiff_plain;f=lisp%2Fmm-util.el;h=ab9145f8b1c47d1893547cfa2984d49bc0429b8d;hp=6433ec969388d1e2992a5f95cb24142627fbde20;hb=94f288135f95ca48fb50f5aa43bc09f9669c5c23;hpb=b4bc300f0dcddc2b17bb50a3501ed6e6db1ef12c diff --git a/lisp/mm-util.el b/lisp/mm-util.el index 6433ec969..ab9145f8b 100644 --- a/lisp/mm-util.el +++ b/lisp/mm-util.el @@ -1,6 +1,6 @@ ;;; mm-util.el --- Utility functions for Mule and low level things -;; Copyright (C) 1998-2014 Free Software Foundation, Inc. +;; Copyright (C) 1998-2015 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen ;; MORIOKA Tomohiko @@ -23,10 +23,6 @@ ;;; Code: -;; For Emacs <22.2 and XEmacs. -(eval-and-compile - (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) - (eval-when-compile (require 'cl)) (require 'mail-prsvr) @@ -1062,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) @@ -1245,6 +1240,7 @@ 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) (let ((multibyte (make-symbol "multibyte"))) @@ -1255,8 +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)) (defun mm-find-charset-region (b e) "Return a list of Emacs charsets in the region B to E."