From 1f1e06e2728d2dc8656f4e96aea876ad13916bfa Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 12 Sep 2013 15:36:23 -0400 Subject: [PATCH] * lisp/abbrev.el (abbrev--check-chars): Fix thinko. Fixes: debbugs:15329 --- lisp/ChangeLog | 4 ++++ lisp/abbrev.el | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eec861a1dcd..1ea13a9a0be 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-09-12 Stefan Monnier + + * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329). + 2013-08-23 Glenn Morris * emacs-lisp/package.el (package-buffer-info): Fix message typo. diff --git a/lisp/abbrev.el b/lisp/abbrev.el index bd09653103f..1fe5c0c4786 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el @@ -615,9 +615,9 @@ An obsolete but still supported calling form is: "Check if the characters in ABBREV have word syntax in either the current (if global is nil) or standard syntax table." (with-syntax-table - (cond ((null global) (standard-syntax-table)) + (cond ((null global) (syntax-table)) ;; ((syntax-table-p global) global) - (t (syntax-table))) + (t (standard-syntax-table))) (when (string-match "\\W" abbrev) (let ((badchars ()) (pos 0)) -- 2.39.2