Mercurial > hg > xemacs-beta
view src/offix-types.h @ 4435:1e2fc51563a5
Fix auto-formatting of comments in auto-fill-mode
This patch makes auto-fill-mode properly format comments (when lines are
automatically broken). It looks strangely similar to that of:
| 1999-06-24 Bob Weiner <weiner@beopen.com>
|
| * simple.el (indent-new-comment-line): Locally bound
| `block-comment-start' to `comstart' or else when this is called
| from do-auto-fill, e.g. in Lisp mode, it will insert any non-nil
| `block-comment-start' value, ignoring any existing spacing after a
| comment prefix in the previous line and producing ugly comments.
author | Didier Verna <didier@xemacs.org> |
---|---|
date | Wed, 05 Mar 2008 18:01:37 +0100 |
parents | 74fd4e045ea6 |
children | 697ef44129c6 |
line wrap: on
line source
/* Copyright (C) 1996 César Crusius This file is part of the DND Library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef INCLUDED_offix_types_h_ #define INCLUDED_offix_types_h_ #define DndNotDnd -1 #define DndUnknown 0 #define DndRawData 1 #define DndFile 2 #define DndFiles 3 #define DndText 4 #define DndDir 5 #define DndLink 6 #define DndExe 7 #define DndURL 8 #define DndMIME 9 #define DndEND 10 #endif /* INCLUDED_offix_types_h_ */