Browse Source

Update some emacs scripts

Samuel W. Flint 2 years ago
parent
commit
729bffcfa9
3 changed files with 6 additions and 6 deletions
  1. 2 2
      eaf
  2. 2 2
      eframe
  3. 2 2
      org-capture

+ 2 - 2
eaf

@@ -1,5 +1,5 @@
 #!/bin/sh
-# my-init.org(add-file-to-current-session) id:7c27f949-fae8-4343-b528-f7d539a8e9ec
+# my-init.org(add-file-to-current-session) file:../.emacs.d/my-init.org::add-file-to-current-session
 programname=`basename $0`
 
 if [ $# -eq 0 ] ;
@@ -9,4 +9,4 @@ then
 fi
 
 emacsclient --alternate-editor="" -n $@
-# End my-init.org(add-file-to-current-session) id:7c27f949-fae8-4343-b528-f7d539a8e9ec
+# End my-init.org(add-file-to-current-session) file:../.emacs.d/my-init.org::add-file-to-current-session

+ 2 - 2
eframe

@@ -1,4 +1,4 @@
 #!/bin/sh
-# my-init.org(create-a-new-frame) id:89d000e4-63dd-403a-885b-4fe8664e4026
+# my-init.org(create-a-new-frame) file:../.emacs.d/my-init.org::create-a-new-frame
 emacsclient --eval "(make-frame-command)" $@
-# End my-init.org(create-a-new-frame) id:89d000e4-63dd-403a-885b-4fe8664e4026
+# End my-init.org(create-a-new-frame) file:../.emacs.d/my-init.org::create-a-new-frame

+ 2 - 2
org-capture

@@ -1,5 +1,5 @@
 #!/bin/sh
-# my-init.org(open-a-window-for-org-capture) id:fc0749df-a6ad-4885-afb8-bbab36846558
+# my-init.org(open-a-window-for-org-capture) file:../.emacs.d/my-init.org::open-a-window-for-org-capture
 currentWindow=$(xprop -id $(xprop -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}') | awk '/WM_CLASS\(STRING\)/{print $NF}')
 
 if [[ $currentWindow == '"Emacs"' ]] ; then
@@ -7,4 +7,4 @@ if [[ $currentWindow == '"Emacs"' ]] ; then
 else
     emacsclient -c --eval '(my/call-org-capture-in-new-window)'
 fi
-# End my-init.org(open-a-window-for-org-capture) id:fc0749df-a6ad-4885-afb8-bbab36846558
+# End my-init.org(open-a-window-for-org-capture) file:../.emacs.d/my-init.org::open-a-window-for-org-capture