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
(defun YaTeX-define-begend-key-with-name (key env &optional map) | |
"Define YaTeX-make-begin-end command with name and bind it." | |
(let ((func (intern (format "YaTeX-make-begin-end-%s" env)))) | |
(fset func | |
`(lambda (arg) | |
,(format "Make LaTeX environment command of \\begin{%s} ... \\end{%s}." | |
env env) | |
(interactive "P") | |
(YaTeX-insert-begin-end ,env arg))) | |
(YaTeX-define-key key func map))) |

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
def toggle_two_finders(self, finder_class1, finder_class2): | |
if self.model.finder.__class__ == finder_class1: | |
self.model.remake_finder(finder_class2) | |
else: | |
self.model.remake_finder(finder_class1) | |
self.model.force_search() |
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
#!/bin/sh | |
# This is a test of gist | |
echo This is a test of Gist |
NewerOlder