From: Gustav HÃ¥llberg Date: Tue, 4 Aug 2009 12:39:47 +0000 (+0200) Subject: stgit.el: Set patch names to be word syntax throughout X-Git-Tag: v0.15-rc2~11^2~24 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/224ef1ec6e53988776b257de48a0b559ef43a8be stgit.el: Set patch names to be word syntax throughout This allows easy selection of the patch name; e.g., by double-clicking. Signed-off-by: Gustav HÃ¥llberg --- diff --git a/contrib/stgit.el b/contrib/stgit.el index 9cc40db..132c19e 100644 --- a/contrib/stgit.el +++ b/contrib/stgit.el @@ -79,7 +79,9 @@ directory DIR or `default-directory'" (insert (propertize (if (eq status 'index) "Index" "Work tree") 'face face)) (insert (format "%-30s" - (propertize (symbol-name name) 'face face)) + (propertize (symbol-name name) + 'face face + 'syntax-table (string-to-syntax "w"))) " " (if (stgit-patch-empty patch) "(empty) " "") (propertize (or (stgit-patch-desc patch) "") @@ -739,6 +741,7 @@ Commands: (set (make-local-variable 'stgit-show-worktree) stgit-default-show-worktree) (set (make-local-variable 'stgit-index-node) nil) (set (make-local-variable 'stgit-worktree-node) nil) + (set (make-local-variable 'parse-sexp-lookup-properties) t) (set-variable 'truncate-lines 't) (add-hook 'after-save-hook 'stgit-update-saved-file) (run-hooks 'stgit-mode-hook))