[space-doc] use cl-return as return is obsolete (#15397)

This commit is contained in:
John Practicalli 2022-03-06 16:48:20 +00:00 committed by GitHub
parent f548975841
commit ed19c94a1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -3088,6 +3088,7 @@ files (thanks to Daniel Nicolai)
=org-insert-structure-template= commands (thanks to Andriy Kmit')
- Added =ox-asciidoc= as org export backend (thanks to Christian "West" Westrom)
- Fix org-roam v2 compatibility (thanks to Alex Kapranoff and Caleb Rogers)
- Fix =space-doc.el= to use cl-return (thanks to practicalli-john)
**** Osx
- Key bindings:
- Added key bindings to use ~command-1..9~ for selecting window

View File

@ -159,7 +159,7 @@ This functions is aimed to be used with `spacemacs-space-doc-modificators'."
(kbd-marker
(dolist (el org-emphasis-alist)
(when (member 'org-kbd el)
(return (car el))))))
(cl-return (car el))))))
(make-spacemacs--space-doc-cache-struct
:marker-face marker-face
:btn-marker-face btn-marker-face