Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
78f886f2
Commit
78f886f2
authored
Jan 30, 2003
by
Dave Love
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(lookup-words): Fix last change.
parent
fe43016c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/textmodes/ispell.el
lisp/textmodes/ispell.el
+3
-2
No files found.
lisp/ChangeLog
View file @
78f886f2
2003-01-30 Dave Love <fx@gnu.org>
* textmodes/ispell.el (lookup-words): Fix last change.
2003-01-29 John Paul Wallington <jpw@gnu.org>
* font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
...
...
lisp/textmodes/ispell.el
View file @
78f886f2
...
...
@@ -1929,8 +1929,9 @@ Optional second argument contains the dictionary to use; the default is
(
while
(
search-backward
"*"
nil
t
)
(
insert
"."
))
(
setq
word
(
buffer-string
))
(
erase-buffer
))
;; Use apply since `lookup-dict' can be nil.
(
setq
status
(
apply
#'
call-process
prog
nil
t
nil
args
word
lookup-dict
))
(
setq
status
(
if
lookup-dict
(
call-process
prog
nil
t
nil
args
word
lookup-dict
)
(
call-process
prog
nil
t
nil
args
word
)))
;; grep returns status 1 and no output when word not found, which
;; is a perfectly normal thing.
(
if
(
stringp
status
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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