all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* setq-local: Wrong number of arguments
@ 2021-05-03 21:30 Christopher Dimech
  2021-05-04  6:47 ` Joost Kremers
  0 siblings, 1 reply; 18+ messages in thread
From: Christopher Dimech @ 2021-05-03 21:30 UTC (permalink / raw)
  To: Help Gnu Emacs


I am gutting an error saying

setq-local: Wrong number of arguments: (2 . 2), 4

Have no idea what it means.  Been trying to enable a typeface using a
cycle mechanism

(defvar-local crucibulum-sweep-kondor 1
  "Keeps track of the cycle state in `crucibulum-sweep'.")

(defun crucibulum-sweep ()
  "Cycles supinf and ideograms functionality."
   (interactive)

   (pcase crucibulum-sweep-kondor
      (1 (enable-ricci-notation)
	 (message "Enabled: ricci notation")
         (setq-local crucibulum-sweep-kondor (1+ crucibulum-sweep-kondor)))
      (2 (enable-ideogram-vision)
         (message "Enabled: ricci notation & ideogram vision")
         (setq-local crucibulum-sweep-kondor (1+ crucibulum-sweep-kondor)))
      (_ (disable-ricci-notation)
	 (disable-ideogram-vision)
	 (message "Disabled: ricci notation & ideogram vision")
         (setq-local crucibulum-sweep-kondor 1)) ))







^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-05-05 15:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-03 21:30 setq-local: Wrong number of arguments Christopher Dimech
2021-05-04  6:47 ` Joost Kremers
2021-05-04  7:07   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04  7:59   ` Christopher Dimech
2021-05-04  8:05     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04  8:14       ` Emacs is stable software Jean Louis
2021-05-04  8:25         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04  9:03         ` tomas
2021-05-04  9:15           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-05  6:26       ` setq-local: Wrong number of arguments Christopher Dimech
2021-05-05  6:32         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-05  8:56           ` Christopher Dimech
2021-05-05  9:05             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-05 10:01               ` Christopher Dimech
2021-05-05 10:12                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-05 10:48                   ` Christopher Dimech
2021-05-05 11:00                   ` Christopher Dimech
2021-05-05 15:02                     ` Emanuel Berg via Users list for the GNU Emacs text editor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.