fix set-option error with copilot

This commit is contained in:
Peter Tillemans 2024-12-30 15:49:44 +01:00
parent 31ec2ec412
commit f0789a34ff

View file

@ -370,22 +370,6 @@ up, which a totally different can of worms). A function
#+RESULTS: #+RESULTS:
: shht!secret : shht!secret
** GUIX support
[[https://gitlab.com/emacs-guix/emacs-guix][Emacs-guix]] is a module to interact with the guix system and help
manage packages and profiles. It also offers support for creating
additional profiles and packages for Guix.
#+BEGIN_SRC emacs-lisp
(use-package guix
:ensure t
:after geiser)
#+END_SRC
I find it a bit a confusing module.
It provides a minor-mode
** Add a fully featured terminal emulator ** Add a fully featured terminal emulator
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@ -1693,6 +1677,22 @@ Configure Geiser and Scheme
#+RESULTS: #+RESULTS:
| geiser-mode | enable-paredit-mode | geiser-mode--maybe-activate | | geiser-mode | enable-paredit-mode | geiser-mode--maybe-activate |
**** GUIX support
[[https://gitlab.com/emacs-guix/emacs-guix][Emacs-guix]] is a module to interact with the guix system and help
manage packages and profiles. It also offers support for creating
additional profiles and packages for Guix.
#+BEGIN_SRC emacs-lisp
(use-package guix
:ensure t
:after geiser)
#+END_SRC
I find it a bit a confusing module.
It provides a minor-mode
**** Enable Cider for Clojure mode **** Enable Cider for Clojure mode
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@ -1952,7 +1952,8 @@ Map the keymap consistently to the eglot mappings.
(add-to-list 'copilot-indentation-alist '(scheme-mode . 2)) (add-to-list 'copilot-indentation-alist '(scheme-mode . 2))
(add-to-list 'copilot-indentation-alist '(emacs-lisp-mode . 2)) (add-to-list 'copilot-indentation-alist '(emacs-lisp-mode . 2))
(add-to-list 'copilot-indentation-alist '(lisp-mode . 2)) (add-to-list 'copilot-indentation-alist '(lisp-mode . 2))
(set-option 'copilot-indent-offset-warning-disabled t) :custom
(copilot-indent-offset-warning-disabled t "Disable indent offset warning" )
:hook :hook
(prog-mode . copilot-mode) (prog-mode . copilot-mode)
@ -1960,7 +1961,7 @@ Map the keymap consistently to the eglot mappings.
#+END_SRC #+END_SRC
#+RESULTS: #+RESULTS:
: [nil 26466 40154 497697 nil elpaca-process-queues nil nil 528000 nil] : [nil 26482 40231 262145 nil elpaca-process-queues nil nil 167000 nil]
*** TODO move scheme configuration to the scheme section *** TODO move scheme configuration to the scheme section
or leave it here but move it to config, whatever makes most sense at or leave it here but move it to config, whatever makes most sense at