Skip to content

Commit b8ac02f

Browse files
committed
Fix emacs native compilation warning
``` ■ Warning (comp): use-package-core.el:907:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting) ■ Warning (comp): use-package-core.el:930:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting) ``` To reproduce, have emacs build with native compilation and notice the compilation logs. You can then open this file and run `M-x emacs-lisp-native-compile-and-load` before and after the changes to see the warning is removed.
1 parent e2d173b commit b8ac02f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

use-package-core.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -910,12 +910,12 @@ If RECURSED is non-nil, recurse into sublists."
910910
sym
911911
\\='sym
912912
(quote sym)
913-
#'sym
913+
#\\='sym
914914
(function sym)
915915
(lambda () ...)
916916
\\='(lambda () ...)
917917
(quote (lambda () ...))
918-
#'(lambda () ...)
918+
#\\='(lambda () ...)
919919
(function (lambda () ...))"
920920
(or (if binding
921921
(symbolp v)
@@ -930,7 +930,7 @@ If RECURSED is non-nil, recurse into sublists."
930930
(defun use-package-normalize-function (v)
931931
"Reduce functional constructions to one of two normal forms:
932932
sym
933-
#'(lambda () ...)"
933+
#\\='(lambda () ...)"
934934
(cond ((symbolp v) v)
935935
((and (listp v)
936936
(memq (car v) '(quote function))

0 commit comments

Comments
 (0)