diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-03-15 12:22:48 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-03-15 12:22:48 +0100 |
commit | fad29ecccf0a0f59911b3fb0bb23eaab81ba52cd (patch) | |
tree | 0280d4b7a1fbf8f31efcfc20ea49c693f66e6a52 /init.org | |
parent | 4bf2d937ee37b3743511ae854e4c6ce2d3fc48d4 (diff) |
Replace equalp with equal.
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -569,13 +569,13 @@ TRAMP is a really convenient way to edit files on remote systems from within the I’m not using this yet. I’d like to figure out how to make TRAMP use =ssh1= as a proxy only when I’m not connected to the institute’s network. -#+BEGIN_SRC elisp :noweb-ref nil +#+BEGIN_SRC elisp (defun at-work-p () "Tell me if I’m connected to the network at work." (with-temp-buffer (call-process "ip" nil t nil "route" "list" "root" "141.80/16") ;; There is no output when there is no route with this prefix. - (not (equalp (point-min) (point-max))))) + (not (equal (point-min) (point-max))))) #+END_SRC * Shell |