This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(add-hook 'hack-local-variables-hook 'run-local-vars-mode-hook) | |
(defun run-local-vars-mode-hook () | |
"Run a hook for the major-mode after the local variables have been processed." | |
(run-hooks (intern (concat (symbol-name major-mode) "-local-vars-hook")))) | |
(defun detect_buffer_venv (buffer-name) | |
(let ((buffer-dir (file-name-directory buffer-name))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Show a notification when a push has been completed | |
(require 'notifications) | |
(defun notify-push (result) | |
(notifications-notify | |
:title "Push complete" | |
:body (format "Org-mobile-push: %s" result) | |
) | |
) | |
;; Fork the work of pushing to mobile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; direx plugin | |
(require 'direx) | |
(require 'direx-project) | |
(setq direx:leaf-icon " " | |
direx:open-icon "▾ " | |
direx:closed-icon "▸ ") | |
(defun e2wm:def-plugin-direx (frame wm winfo) | |
(let* ((buf (e2wm:history-get-main-buffer)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; anything-c-yasnippet.el --- anything config for yasnippet.el | |
;; Author: Kenji.I (Kenji Imakado) <[email protected]> | |
;; Version: 0.6.1 | |
;; Keywords: anything yasnippet | |
;; This file is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation; either version 2, or (at your option) | |
;; any later version. |