diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /app-emacs/noflet/files/noflet-fix-requires.patch | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'app-emacs/noflet/files/noflet-fix-requires.patch')
-rw-r--r-- | app-emacs/noflet/files/noflet-fix-requires.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-emacs/noflet/files/noflet-fix-requires.patch b/app-emacs/noflet/files/noflet-fix-requires.patch new file mode 100644 index 000000000000..142229d547e1 --- /dev/null +++ b/app-emacs/noflet/files/noflet-fix-requires.patch @@ -0,0 +1,28 @@ +index 58d3b8d..c003987 100644 +--- a/noflet.el ++++ b/noflet.el +@@ -28,10 +28,8 @@ + + ;;; Code: + +-(eval-when-compile (require 'cl)) +-(if (version< emacs-version "24.4.1") +- (load-library "cl-indent") +- (require 'cl-indent)) ++(require 'dash) ++(require 'cl-lib) + + (defun noflet|base () + "A base function." +index 58d3b8d..73f0719 100644 +--- a/noflet.el ++++ b/noflet.el +@@ -155,7 +155,7 @@ maintainers refuse to add the correct indentation spec to + (indent noflet-indent-func)) + `(cl-flet ,bindings ,@body)) + +-(defmacro* letn (tag bindings &rest body) ++(cl-defmacro letn (tag bindings &rest body) + (declare (debug (sexp sexp &rest form)) + (indent 2)) + `(cl-labels ((,tag ,(-map 'car bindings) ,@body)) |