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
lyskom-elisp-client
lyskom-elisp-client
Commits
3450c702
Commit
3450c702
authored
Jul 13, 2002
by
Johan Sundström
Browse files
Oops.
parent
442018dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/utilities.el
View file @
3450c702
...
...
@@ -673,8 +673,8 @@ non-negative integer and 0 means the given text-no."
(
lyskom-error
(
lyskom-get-string
'bad-text-no-prefix
)
arg
)))))))
(
defconst
lyskom-old-farts-text-prompt-strategy
'
((
t
.
((
nil
.
lyskom-get-last-read-text
)
(
t
.
lyskom-get-last-read-text
)
'
((
t
.
((
t
.
lyskom-get-last-read-text
)
(
nil
.
lyskom-get-last-read-text
)
(
0
.
lyskom-get-text-at-point
)
(
-
lyskom-get-text-above-point
(
lambda
(
&optional
args
)
1
))
(
listp
.
lyskom-prompt-for-text-no
)
...
...
@@ -811,7 +811,8 @@ its first argument and remaining list items appended to the argument list."
(
setq
default
(
or
default
new-default
)))))
((
or
(
eq
compare-value
current-prefix-arg
)
;; a text-no strategy
(
funcall
strategy-pred
current-prefix-arg
))
(
and
(
functionp
strategy-pred
)
(
funcall
strategy-pred
current-prefix-arg
)))
(
setq
text-no
(
lyskom-evaluate-text-no-strategy
what-text
prompt
default
constraint
))
; (lyskom-insert (format "cmp: %s\npred: %s\ntext-no: %s\n\n"
...
...
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