Skip to content

Commit

Permalink
Remove obsolete settings from README
Browse files Browse the repository at this point in the history
Removed a setting related to using the color picker in Custom-mode
that specified the color name scheme. It is now automatically
determined based on the buffer's major mode, making this setting
unnecessary.
  • Loading branch information
misohena committed Feb 11, 2025
1 parent ac2af49 commit 4899218
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,6 @@ Settings for using them while editing CSS or HTML:
Settings for use with Customize:

#+begin_src elisp
(defun my-edraw-color-picker-enable-for-custom-mode ()
;; Use emacs color name
(setq-local edraw-color-picker-insert-default-color-scheme 'emacs))

(add-hook 'Custom-mode-hook 'my-edraw-color-picker-enable-for-custom-mode)

(with-eval-after-load "cus-edit"
;; Add keys to the field key map
(my-edraw-color-picker-add-keys custom-field-keymap))
Expand Down

0 comments on commit 4899218

Please sign in to comment.