Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
6686e140
Commit
6686e140
authored
21 years ago
by
pmai
Browse files
Options
Downloads
Patches
Plain Diff
Fix symbol-atom, and handling of WM protocol callbacks, as submitted by
Aleksandr Skobelev.
parent
0862639b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
motif/lisp/callbacks.lisp
+7
-3
7 additions, 3 deletions
motif/lisp/callbacks.lisp
motif/lisp/internals.lisp
+2
-2
2 additions, 2 deletions
motif/lisp/internals.lisp
with
9 additions
and
5 deletions
motif/lisp/callbacks.lisp
+
7
−
3
View file @
6686e140
...
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/motif/lisp/callbacks.lisp,v 1.
4 1999/02/05 21:10:24 pw
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/motif/lisp/callbacks.lisp,v 1.
5 2003/04/11 12:09:10 pmai
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -123,7 +123,9 @@
(
declare
(
type
widget
widget
)
(
type
keyword
property
protocol
)
(
type
(
or
symbol
function
)
fn
))
(
let*
((
table
(
motif-connection-protocol-table
*motif-connection*
))
(
let*
((
property
(
xti:symbol-atom
property
))
(
protocol
(
xti:symbol-atom
protocol
))
(
table
(
motif-connection-protocol-table
*motif-connection*
))
(
key
(
list
(
widget-id
widget
)
property
protocol
))
(
data
(
cons
fn
args
)))
...
...
@@ -138,7 +140,9 @@
(
declare
(
type
widget
widget
)
(
type
keyword
property
protocol
)
(
type
(
or
symbol
function
)
fn
))
(
let*
((
table
(
motif-connection-protocol-table
*motif-connection*
))
(
let*
((
property
(
xti:symbol-atom
property
))
(
protocol
(
xti:symbol-atom
protocol
))
(
table
(
motif-connection-protocol-table
*motif-connection*
))
(
key
(
list
(
widget-id
widget
)
property
protocol
))
(
data
(
cons
fn
args
))
(
new-list
(
delete
data
(
gethash
key
table
)
:test
#'
equal
)))
...
...
This diff is collapsed.
Click to expand it.
motif/lisp/internals.lisp
+
2
−
2
View file @
6686e140
...
...
@@ -7,7 +7,7 @@
;;; contact Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/motif/lisp/internals.lisp,v 1.
7 1998/12/20 04:22:54 dtc
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/motif/lisp/internals.lisp,v 1.
8 2003/04/11 12:09:10 pmai
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -213,7 +213,7 @@
;;; Converts a symbol into an atom.
(
defun
symbol-atom
(
symbol
)
(
substitute
#\_
#\-
(
symbol-name
symbol
)))
(
intern
(
substitute
#\_
#\-
(
symbol-name
symbol
))
:KEYWORD
)
)
(
defun
widget-add-child
(
parent
child
)
(
declare
(
type
widget
parent
child
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment