mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
Use return values of assq-delete-all and assoc-delete-all
* lisp/allout-widgets.el (allout-widgets-mode): * lisp/progmodes/eglot.el (eglot-handle-notification): Update variables with the new value, which was probably the intention here.
This commit is contained in:
parent
9ad997cd68
commit
73582ed6d4
@ -613,7 +613,8 @@ outline hot-spot navigation (see `allout-mode')."
|
||||
#'allout-widgets-post-command-business 'local)
|
||||
(remove-hook 'pre-command-hook
|
||||
#'allout-widgets-pre-command-business 'local)
|
||||
(assq-delete-all 'allout-widgets-mode-inhibit minor-mode-alist)
|
||||
(setq minor-mode-alist
|
||||
(assq-delete-all 'allout-widgets-mode-inhibit minor-mode-alist))
|
||||
(set-buffer-modified-p was-modified))))
|
||||
;;;_ > allout-widgets-mode-off
|
||||
(defun allout-widgets-mode-off ()
|
||||
|
@ -2277,7 +2277,9 @@ still unanswered LSP requests to the server\n")))
|
||||
(buffer (find-buffer-visiting path)))
|
||||
(with-current-buffer buffer
|
||||
(cl-loop
|
||||
initially (assoc-delete-all path flymake-list-only-diagnostics)
|
||||
initially
|
||||
(setq flymake-list-only-diagnostics
|
||||
(assoc-delete-all path flymake-list-only-diagnostics))
|
||||
for diag-spec across diagnostics
|
||||
collect (eglot--dbind ((Diagnostic) range code message severity source tags)
|
||||
diag-spec
|
||||
|
Loading…
Reference in New Issue
Block a user