Mercurial > emacs
changeset 3668:87f7ff6bba51
(sendmail-pre-abbrev-expand-hook):
If last-command-char is not a character, don't check char-syntax.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 11 Jun 1993 22:22:15 +0000 |
parents | f4a7ac2ec651 |
children | fd4187a96445 |
files | lisp/mail/mailabbrev.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/mailabbrev.el Fri Jun 11 21:33:27 1993 +0000 +++ b/lisp/mail/mailabbrev.el Fri Jun 11 22:22:15 1993 +0000 @@ -460,8 +460,8 @@ ;; the mail-mode-header-syntax-table. (set-syntax-table mail-mode-header-syntax-table) - (or (not (integerp last-command-char)) - (eq (char-syntax last-command-char) ?_) + (or (and (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)