Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Peter Liljenberg
lyskom-elisp-client
Commits
71c9a5b2
Commit
71c9a5b2
authored
Jul 15, 2002
by
Per Cederqvist
Browse files
(lyskom-evaluate-text-no-strategy): first, second and cddr are not
portable to Emacs 19 without using cl.el. Use car and cdr instead.
parent
bee01e39
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ChangeLog
View file @
71c9a5b2
2002-07-15 Per Cederqvist <ceder@ingate.com>
* utilities.el (lyskom-evaluate-text-no-strategy): first, second
and cddr are not portable to Emacs 19 without using cl.el. Use
car and cdr instead.
2002-07-13 Johan Sundström <jhs@lysator.liu.se>
* utilities.el (lyskom-pick-text-no-strategy-alist): Behave as it
...
...
src/utilities.el
View file @
71c9a5b2
...
...
@@ -850,9 +850,9 @@ its first argument and remaining list items appended to the argument list."
(
strategy-args
'
()))
(
cond
((
listp
strategy
)
(
setq
strategy-func
(
first
strategy
))
(
setq
prefix
(
funcall
(
second
strategy
)
prefix
))
(
setq
strategy-args
(
cddr
strategy
))
(
setq
strategy-func
(
car
strategy
))
(
setq
prefix
(
funcall
(
car
(
cdr
strategy
)
)
prefix
))
(
setq
strategy-args
(
cd
r
(
c
dr
strategy
))
)
(
apply
strategy-func
prefix
prompt
default
constraint
strategy-args
))
((
functionp
strategy
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment