X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/40d83b412f584cc02e68d4eac8fd5e6eb769e2fe..7ca8fc42baeb89a0d5f84b6c8549fdf6f3d8d0e6:/lisp/abbrev.el diff --git a/lisp/abbrev.el b/lisp/abbrev.el index b2cd2064da..9445cf9675 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el @@ -935,7 +935,8 @@ Properties with special meaning: (unless table (setq table (make-abbrev-table)) (set tablename table) - (push tablename abbrev-table-name-list)) + (unless (memq tablename abbrev-table-name-list) + (push tablename abbrev-table-name-list))) ;; We used to just pass them to `make-abbrev-table', but that fails ;; if the table was pre-existing as is the case if it was created by ;; loading the user's abbrev file.