Mercurial > emacs
comparison lisp/tempo.el @ 31657:58e2bb13d72e
(tempo-expand-if-complete): Quote paren in docstring.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 17 Sep 2000 01:04:35 +0000 |
parents | db5b16cdb88d |
children | 7308bbc423d5 |
comparison
equal
deleted
inserted
replaced
31656:0090ca919308 | 31657:58e2bb13d72e |
---|---|
50 ;; The template can also define one point to be replaced with the | 50 ;; The template can also define one point to be replaced with the |
51 ;; current region if the template command is called with a prefix (or | 51 ;; current region if the template command is called with a prefix (or |
52 ;; a non-nil argument). | 52 ;; a non-nil argument). |
53 | 53 |
54 ;; More flexible templates can be created by including lisp symbols, | 54 ;; More flexible templates can be created by including lisp symbols, |
55 ;; which will be evaluated as variables, or lists, which will will be | 55 ;; which will be evaluated as variables, or lists, which will be |
56 ;; evaluated as lisp expressions. | 56 ;; evaluated as lisp expressions. |
57 | 57 |
58 ;; See the documentation for tempo-define-template for the different | 58 ;; See the documentation for tempo-define-template for the different |
59 ;; items that can be used to define a tempo template. | 59 ;; items that can be used to define a tempo template. |
60 | 60 |
735 Returns non-nil if an expansion was made and nil otherwise. | 735 Returns non-nil if an expansion was made and nil otherwise. |
736 | 736 |
737 This could as an example be used in a command that is bound to the | 737 This could as an example be used in a command that is bound to the |
738 space bar, and looks something like this: | 738 space bar, and looks something like this: |
739 | 739 |
740 (defun tempo-space () | 740 \(defun tempo-space () |
741 (interactive \"*\") | 741 (interactive \"*\") |
742 (or (tempo-expand-if-complete) | 742 (or (tempo-expand-if-complete) |
743 (insert \" \")))" | 743 (insert \" \")))" |
744 | 744 |
745 (interactive "*") | 745 (interactive "*") |