Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cl-l10n.unix-locale-files
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
Container Registry
Model registry
Operate
Environments
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
cl-l10n
cl-l10n.unix-locale-files
Commits
a4d87829
Commit
a4d87829
authored
18 years ago
by
levente.meszaros
Browse files
Options
Downloads
Patches
Plain Diff
Use defun in defresources to notify the compiler about the defined resource functions.
darcs-hash:92630f61d53e62ebfefc02bcae343d9423a44006
parent
893a6bb0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
i18n.lisp
+5
-1
5 additions, 1 deletion
i18n.lisp
with
5 additions
and
1 deletion
i18n.lisp
+
5
−
1
View file @
a4d87829
...
...
@@ -90,7 +90,11 @@ and call the lambda resource registered for the current locale."
,@
(
iter
(
for
resource
in
resources
)
(
for
name
=
(
first
resource
))
(
unless
(
=
2
(
length
resource
))
(
collect
`
(
set-resource-lookup-function
',name
)))))
(
collect
`
(
progn
(
unless
(
get
',name
'cl-l10n-entry-function
)
(
defun
,
name
(
&rest
args
)
(
lookup-resource
',name
args
))
(
setf
(
get
',name
'cl-l10n-entry-function
)
t
)))))))
(
eval-when
(
:load-toplevel
:execute
)
,@
(
iter
(
for
resource
in
resources
)
(
for
name
=
(
first
resource
))
...
...
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