Mercurial > hg > xemacs-beta
view lisp/gtk-package.el @ 4694:2ac296807b88
Don't needlessly intern symbols, #'function-arglist, #'cl-function-arglist
2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
* help.el (function-arglist):
Show the double-quotes in the sample output, correctly.
Bind print-gensym to nil, now we're using uninterned symbols.
Don't #'mapcar + #'intern to create uppercase symbols, use #'loop
and #'make-symbol instead.
* cl-macs.el (cl-upcase-arg):
Don't intern the upcased symbols we're using for cosmetic reasons.
Trust #'true-list-p in #'cl-function-arglist to detect
circularity.
(cl-function-arglist): Bind print-gensym to nil, now we're
printing uninterned symbols and would prefer to avoid the gensym
syntax.
(cl-transform-lambda): Only add the Common Lisp lambda list:
argument information when that differs frmo the normal argument
information.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 20 Sep 2009 21:41:22 +0100 |
parents | 7039e6323819 |
children | db7068430402 |
line wrap: on
line source
;; A GTK version of package-ui.el (globally-declare-fboundp '(gtk-window-new gtk-hbox-new gtk-container-add gtk-widget-show-all)) (require 'package-get) (require 'package-ui) (defun package-gtk-edit-sites () (let ((window (gtk-window-new 'toplevel)) (box (gtk-hbox-new nil 5))) (gtk-container-add window box) (gtk-widget-show-all window)))