Browse Source

Fixed issue with viewing in emacs

Samuel W. Flint 8 years ago
parent
commit
83e0ee3f2c
1 changed files with 6 additions and 0 deletions
  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