Mercurial > hg > xemacs-beta
view src/toolbar-common.h @ 4919:9c6ea1581159
Remove a couple of XEmacs-specific duplicate functions, find-paths.el
2010-02-03 Aidan Kehoe <kehoea@parhasard.net>
Delete a couple of XEmacs-specific functions that duplicate CL
functions.
* find-paths.el (paths-filter, paths-uniq-append):
Remove #'paths-filter, a reimplementation of #'remove-if-not, and
#'paths-uniq-append, a reimplementation of #'union with test
#'equal.
(paths-decode-directory-path): Don't use #'path-filter here.
* packages.el (packages-package-hierarchy-directory-names):
Don't use #'path-filter here.
(packages-find-installation-package-directories):
Use #'union, not #'paths-uniq-append here.
* setup-paths.el (paths-find-invocation-roots)
(paths-find-emacs-roots, paths-construct-info-path)
(paths-construct-info-path):
Replace #'paths-filter with #'remove-if-not, #'paths-uniq-append
with #'union.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 03 Feb 2010 09:04:35 +0000 |
parents | c15f25529e61 |
children |
line wrap: on
line source
/* toolbar-common.h ** ** Description: ** ** Created by: William M. Perry ** Copyright (c) 2001 Free Software Foundation ** */ #ifndef __TOOLBAR_COMMON_H__ #define __TOOLBAR_COMMON_H__ extern void common_output_frame_toolbars (struct frame *f); extern void common_redraw_exposed_toolbars (struct frame *f, int x, int y, int width, int height); extern void common_redraw_frame_toolbars (struct frame *f); extern void common_output_toolbar_button (struct frame *f, Lisp_Object button); extern void common_clear_frame_toolbars (struct frame *f); #endif /* __TOOLBAR_COMMON_H__ */