Providing a good search result for "emacs"

David James's Avatar

David James

08 Nov, 2014 08:40 PM

I'd suggest that you find a way so that searching for "emacs" (e.g.
) points to this script:

;; == Marked app ==
(defun markdown-preview-file ()
  "Run Marked on the current file and revert the buffer."
   (format "open -a '/Applications/Marked' %s"
           (shell-quote-argument (buffer-file-name)))))
(global-set-key (kbd "C-c m") 'markdown-preview-file)

This is a slightly modified version of the function provided at:

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac