瀏覽代碼

Fixed issue with viewing in emacs

Samuel W. Flint 8 年之前
父節點
當前提交
83e0ee3f2c
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      library

+ 6 - 0
library

@@ -175,6 +175,12 @@ EOF
 }
 # initialize-database ends here
 
+# view-in-emacs, /home/swflint/.library/library.org
+function view-in-emacs {
+    emacsclient --alternate-editor="" -n ${LIBRARYFILE}
+}
+# view-in-emacs ends here
+
 # process-commands, /home/swflint/.library/library.org
 COMMAND=$1
 shift