HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b377149
)
(sendmail-pre-abbrev-expand-hook):
author
Richard M. Stallman
<rms@gnu.org>
Fri, 11 Jun 1993 20:48:08 +0000
(20:48 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 11 Jun 1993 20:48:08 +0000
(20:48 +0000)
If last-command-char is not a character, don't do the expand here.
lisp/mail/mailabbrev.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/mail/mailabbrev.el
b/lisp/mail/mailabbrev.el
index
3ac6652
..
dcdf370
100644
(file)
--- a/
lisp/mail/mailabbrev.el
+++ b/
lisp/mail/mailabbrev.el
@@
-460,7
+460,8
@@
characters which may be a part of the name of a mail-alias.")
;; the mail-mode-header-syntax-table.
(set-syntax-table mail-mode-header-syntax-table)
- (or (eq (char-syntax last-command-char) ?_)
+ (or (not (integerp last-command-char))
+ (eq (char-syntax last-command-char) ?_)
(let ((pre-abbrev-expand-hook nil)) ; That's us; don't loop.
;; Use this table so that abbrevs can have hyphens in them.
(set-syntax-table mail-abbrev-syntax-table)