Mercurial > hg > xemacs-beta
annotate src/dragdrop.h @ 5682:dae33b5feffe
Unify #'find-coding-system-magic-cookie-in-file, look_for_coding_system_magic_cookie()
src/ChangeLog addition:
2012-09-07 Aidan Kehoe <kehoea@parhasard.net>
* file-coding.c:
* file-coding.c (snarf_coding_system):
Take a new parameter, FIND_CODING_SYSTEM_P, which indicates that
find_coding_system() should be called.
* file-coding.c (look_for_coding_system_magic_cookie):
* file-coding.c (determine_real_coding_system):
* file-coding.c (undecided_convert):
Use this parameter.
* file-coding.c (Ffind_coding_system_magic_cookie_in_file):
New, moved from files.el, so we can use
look_for_coding_system_magic_cookie's implementation.
* file-coding.c (syms_of_file_coding):
Make Ffind_coding_system_magic_cookie_in_file available.
lisp/ChangeLog addition:
2012-09-07 Aidan Kehoe <kehoea@parhasard.net>
* files.el:
* files.el (find-coding-system-magic-cookie-in-file):
Removed. Move this to C, so we can use
look_for_coding_system_magic_cookie().
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Fri, 07 Sep 2012 22:06:01 +0100 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
282 | 1 /* Definitions for the new drag and drop model; |
2 created 03-may-98 by Oliver Graf <ograf@fga.de> | |
3 Copyright (C) 1998 Oliver Graf | |
4 | |
5 This file is part of XEmacs. | |
6 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
7 XEmacs is free software: you can redistribute it and/or modify it |
282 | 8 under the terms of the GNU General Public License as published by the |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
9 Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
10 option) any later version. |
282 | 11 |
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
18 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
282 | 19 |
20 /* Synched up with: Not in FSF. */ | |
21 | |
398 | 22 #ifndef INCLUDED_dragdrop_h_ |
23 #define INCLUDED_dragdrop_h_ | |
282 | 24 |
25 /* Drag'n'Drop data types known by XEmacs */ | |
26 extern Lisp_Object Qdragdrop_MIME; | |
27 extern Lisp_Object Qdragdrop_URL; | |
28 | |
29 /* External defined functions to handle Drag'n'Drop */ | |
30 extern Lisp_Object Qdragdrop_drop_dispatch; | |
31 | |
32 /* some utility functions */ | |
2367 | 33 Ibyte *dnd_url_hexify_string (const Ibyte *s, const Ibyte *m); |
282 | 34 |
35 /* emacs interface */ | |
36 void syms_of_dragdrop (void); | |
37 | |
398 | 38 #endif /* INCLUDED_dragdrop_h_ */ |