mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* 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.
This commit is contained in:
parent
34912c0a2b
commit
a57fa9642d
18 changed files with 104 additions and 100 deletions
|
|
@ -3649,10 +3649,7 @@ VARIABLES list of the class. The list is processed in order.
|
|||
* If the element is of the form (DIRECTORY . LIST), and DIRECTORY
|
||||
is an initial substring of the file's directory, then LIST is
|
||||
applied by recursively following these rules."
|
||||
(let ((elt (assq class dir-locals-class-alist)))
|
||||
(if elt
|
||||
(setcdr elt variables)
|
||||
(push (cons class variables) dir-locals-class-alist))))
|
||||
(setf (alist-get class dir-locals-class-alist) variables))
|
||||
|
||||
(defconst dir-locals-file ".dir-locals.el"
|
||||
"File that contains directory-local variables.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue