Anonymous avatar Anonymous committed 2788cf1

Added `HOW TO USE` comments.

Comments (0)

Files changed (1)

emacs_fullscreen/main.c

   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
+
+/*
+  HOW TO USE
+  ----------
+  1. Add the following lines to your .emacs file:
+  (defun switch-full-screen () (interactive) (shell-command "emacs_fullscreen.exe"))
+  (global-set-key [f11] 'switch-full-screen)
+
+  2. Compile main.c to the folder in your PATH (I use Windows/system32).
+
+  3. Now run Emacs and press F11 to switch into full-screen mode.
+  Press F11 again to switch to windowed mode.
+ */
+
+
 #define WIN32_LEAN_AND_MEAN
 #define VC_EXTRALEAN
 #include <windows.h>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.