diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-10-01 13:23:42 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-10-01 13:23:42 -0400 |
commit | a57fa9642d4953dd6b249f563776e8e9ed60ced5 (patch) | |
tree | e0efbcabdb8f42dd534423686cd97f34e3641647 /lisp/tempo.el | |
parent | 34912c0a2be7a48969652b1556d2998240c59a22 (diff) | |
download | emacs-a57fa9642d4953dd6b249f563776e8e9ed60ced5.tar.gz emacs-a57fa9642d4953dd6b249f563776e8e9ed60ced5.tar.bz2 emacs-a57fa9642d4953dd6b249f563776e8e9ed60ced5.zip |
* lisp/subr.el (alist-get): New accessor.
* lisp/emacs-lisp/gv.el (alist-get): Provide expander.
* lisp/winner.el (winner-remember):
* lisp/tempo.el (tempo-use-tag-list):
* lisp/progmodes/gud.el (minor-mode-map-alist):
* lisp/international/mule-cmds.el (define-char-code-property):
* lisp/frameset.el (frameset-filter-params):
* lisp/files.el (dir-locals-set-class-variables):
* lisp/register.el (get-register, set-register):
* lisp/calc/calc-yank.el (calc-set-register): Use it.
* lisp/ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
* lisp/tooltip.el (tooltip-set-param): Mark as obsolete.
(tooltip-show): Use alist-get instead.
* lisp/ses.el (ses--alist-get): Remove. Use alist-get instead.
* admin/unidata/unidata-gen.el (unidata-gen-table-word-list): Use alist-get
and cl-incf.
Diffstat (limited to 'lisp/tempo.el')
-rw-r--r-- | lisp/tempo.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/tempo.el b/lisp/tempo.el index 9b6cd75b313..15be01dcdf9 100644 --- a/lisp/tempo.el +++ b/lisp/tempo.el @@ -611,11 +611,7 @@ function or string that is used by `\\[tempo-complete-tag]' to find a string to match the tag against. It has the same definition as the variable `tempo-match-finder'. In this version, supplying a COMPLETION-FUNCTION just sets `tempo-match-finder' locally." - (let ((old (assq tag-list tempo-local-tags))) - (if old - (setcdr old completion-function) - (setq tempo-local-tags (cons (cons tag-list completion-function) - tempo-local-tags)))) + (setf (alist-get tag-list tempo-local-tags) completion-function) (if completion-function (setq tempo-match-finder completion-function)) (tempo-invalidate-collection)) |