mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge from origin/emacs-30
b531bbf73eFix go-ts-mode const_spec highlighting (Bug#76330)bd1d6761f4; Document what happens when 'display' and 'invisible' pr...526eeedf88keymaps.texi: Move "Changing Key Bindings" section up7ec6531c7bkeymaps.texi: Move "Key Sequences" section down8b80401127Improve process-get/process-put docstrings73c646b777Merge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs ...0af5c57499Fix recent change in diff-no-selectc8cec840d7Prevent rare freeze on Android 4.2 through 4.4
This commit is contained in:
commit
da584ad6fb
6 changed files with 375 additions and 344 deletions
10
lisp/subr.el
10
lisp/subr.el
|
|
@ -3330,13 +3330,19 @@ process."
|
|||
|
||||
(defun process-get (process propname)
|
||||
"Return the value of PROCESS' PROPNAME property.
|
||||
This is the last value stored with `(process-put PROCESS PROPNAME VALUE)'."
|
||||
This is the last value stored with `(process-put PROCESS PROPNAME VALUE)'.
|
||||
|
||||
Together with `process-put', this can be used to store and retrieve
|
||||
miscellaneous values associated with the process."
|
||||
(declare (side-effect-free t))
|
||||
(plist-get (process-plist process) propname))
|
||||
|
||||
(defun process-put (process propname value)
|
||||
"Change PROCESS' PROPNAME property to VALUE.
|
||||
It can be retrieved with `(process-get PROCESS PROPNAME)'."
|
||||
It can be retrieved with `(process-get PROCESS PROPNAME)'.
|
||||
|
||||
Together with `process-get', this can be used to store and retrieve
|
||||
miscellaneous values associated with the process."
|
||||
(set-process-plist process
|
||||
(plist-put (process-plist process) propname value)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue