emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/mac.c


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/mac.c
Date: Thu, 21 Jul 2005 01:36:04 -0400

Index: emacs/src/mac.c
diff -c emacs/src/mac.c:1.41 emacs/src/mac.c:1.42
*** emacs/src/mac.c:1.41        Sat Jul 16 07:16:42 2005
--- emacs/src/mac.c     Thu Jul 21 05:36:04 2005
***************
*** 1,5 ****
  /* Unix emulation routines for GNU Emacs on the Mac OS.
!    Copyright (C) 2000, 2001 Free Software Foundation, Inc.
  
  This file is part of GNU Emacs.
  
--- 1,5 ----
  /* Unix emulation routines for GNU Emacs on the Mac OS.
!    Copyright (C) 2000, 2001, 2005  Free Software Foundation, Inc.
  
  This file is part of GNU Emacs.
  
***************
*** 4144,4149 ****
--- 4144,4153 ----
    src_encoding = get_cfstring_encoding_from_lisp (source);
    tgt_encoding = get_cfstring_encoding_from_lisp (target);
  
+   /* We really want string_to_unibyte, but since it doesn't exist yet, we
+      use string_as_unibyte which works as well, except for the fact that
+      it's too permissive (it doesn't check that the multibyte string only
+      contain single-byte chars).  */
    string = Fstring_as_unibyte (string);
    if (src_encoding != kCFStringEncodingInvalidId
        && tgt_encoding != kCFStringEncodingInvalidId)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]