annotate 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 |
rev |
line source |
462
|
1 ;; A GTK version of package-ui.el
|
|
2
|
502
|
3 (globally-declare-fboundp
|
|
4 '(gtk-window-new
|
|
5 gtk-hbox-new gtk-container-add gtk-widget-show-all))
|
|
6
|
462
|
7 (require 'package-get)
|
|
8 (require 'package-ui)
|
|
9
|
|
10 (defun package-gtk-edit-sites ()
|
|
11 (let ((window (gtk-window-new 'toplevel))
|
|
12 (box (gtk-hbox-new nil 5)))
|
|
13 (gtk-container-add window box)
|
|
14 (gtk-widget-show-all window)))
|