mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(sendmail-pre-abbrev-expand-hook):
If last-command-char is not a character, don't check char-syntax.
This commit is contained in:
parent
7e68de5600
commit
2564586656
1 changed files with 2 additions and 2 deletions
|
|
@ -460,8 +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 (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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue