Helper function for detecting my work system

This commit is contained in:
Marcel Kapfer 2022-02-15 22:09:02 +01:00
parent 3dbc64f11a
commit 9d3bdf9179
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -26,6 +26,16 @@ For Microsoft(R) Windows(R) users it is highly adviced to set the =HOME= environ
Settings for Emacs in general as well as for my personal setup. Settings for Emacs in general as well as for my personal setup.
** System Detection
My work machine is called “knuth” and there is some configuration which I only want there.
#+begin_src emacs-lisp
(defun mmk2410/work ()
"Return t if machine is my work machine"
(string-equal (system-name) "knuth"))
#+end_src
** Personal Information ** Personal Information
#+begin_src emacs-lisp #+begin_src emacs-lisp