aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2003-02-24 17:27:21 +0000
committerJuanma Barranquero2003-02-24 17:27:21 +0000
commit58edceeb14cf14c2f2abfbe652accb1d1e87a3ea (patch)
tree433de879f16061f86cdf797f64384ceed34820d7
parentc1f21754703d075fc6b389ad2571e055a0800ce8 (diff)
downloademacs-58edceeb14cf14c2f2abfbe652accb1d1e87a3ea.tar.gz
emacs-58edceeb14cf14c2f2abfbe652accb1d1e87a3ea.zip
(allout-pre-command-business): Fix docstring.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/allout.el22
2 files changed, 16 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2076efe5e3f..fb676c02bba 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12003-02-24 Ken Manheimer <klm@zope.com>
2
3 * allout.el (allout-pre-command-business): Fix docstring.
4
12003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change) 52003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change)
2 6
3 * language/mlm-util.el (mlm-char-glyph): Fix several composing 7 * language/mlm-util.el (mlm-char-glyph): Fix several composing
@@ -25,7 +29,7 @@
25 29
26 * replace.el (query-replace-read-args): Return just 3 values. 30 * replace.el (query-replace-read-args): Return just 3 values.
27 (query-replace, query-replace-regexp) 31 (query-replace, query-replace-regexp)
28 (query-replace-regexp-eval, map-query-replace-regexp) 32 (query-replace-regexp-eval, map-query-replace-regexp)
29 (replace-string, replace-regexp): Read the start and end args 33 (replace-string, replace-regexp): Read the start and end args
30 separately so that the expressions are recorded in command-history. 34 separately so that the expressions are recorded in command-history.
31 35
diff --git a/lisp/allout.el b/lisp/allout.el
index b083153d1fa..f05cf75ee56 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -5,7 +5,7 @@
5;; Author: Ken Manheimer <klm@python.org> 5;; Author: Ken Manheimer <klm@python.org>
6;; Maintainer: Ken Manheimer <klm@python.org> 6;; Maintainer: Ken Manheimer <klm@python.org>
7;; Created: Dec 1991 - first release to usenet 7;; Created: Dec 1991 - first release to usenet
8;; Version: $Id: allout.el,v 1.38 2002/12/16 01:00:51 rost Exp $|| 8;; Version: $Id: allout.el,v 1.39 2003/02/04 11:00:03 lektu Exp $||
9;; Keywords: outlines mode wp languages 9;; Keywords: outlines mode wp languages
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
@@ -508,7 +508,7 @@ behavior."
508;;;_ : Version 508;;;_ : Version
509;;;_ = allout-version 509;;;_ = allout-version
510(defvar allout-version 510(defvar allout-version
511 (let ((rcs-rev "$Revision: 1.38 $")) 511 (let ((rcs-rev "$Revision: 1.39 $"))
512 (condition-case err 512 (condition-case err
513 (save-match-data 513 (save-match-data
514 (string-match "Revision: \\([0-9]+\\.[0-9]+\\)" rcs-rev) 514 (string-match "Revision: \\([0-9]+\\.[0-9]+\\)" rcs-rev)
@@ -2331,19 +2331,19 @@ are mapped to the command of the corresponding control-key on the
2331;;;_ > allout-pre-command-business () 2331;;;_ > allout-pre-command-business ()
2332(defun allout-pre-command-business () 2332(defun allout-pre-command-business ()
2333 "Outline `pre-command-hook' function for outline buffers. 2333 "Outline `pre-command-hook' function for outline buffers.
2334Implements special behavior when cursor is on bullet char. 2334Implements special behavior when cursor is on bullet character.
2335 2335
2336Self-insert characters are reinterpreted control-character references 2336When the cursor is on the bullet character, self-insert characters are
2337into the `allout-mode-map'. The `allout-mode' `post-command-hook' will 2337reinterpreted as the corresponding control-character in the
2338position a cursor that has moved as a result of such reinterpretation, 2338`allout-mode-map'. The `allout-mode' `post-command-hook' insures that
2339on the destination topic's bullet, when the cursor wound up in the 2339the cursor which has moved as a result of such reinterpretation is
2340positioned on the bullet character of the destination topic.
2340 2341
2341The upshot is that you can get easy, single (ie, unmodified) key 2342The upshot is that you can get easy, single (ie, unmodified) key
2342outline maneuvering operations by positioning the cursor on the bullet 2343outline maneuvering operations by positioning the cursor on the bullet
2343char. You stay in this mode until you use some regular 2344char. When in this mode you can use regular cursor-positioning
2344cursor-positioning command to relocate the cursor off of a bullet 2345command/keystrokes to relocate the cursor off of a bullet character to
2345char." 2346return to regular interpretation of self-insert characters."
2346
2347 (if (not (allout-mode-p)) 2347 (if (not (allout-mode-p))
2348 ;; Shouldn't be invoked if not in allout allout-mode, but just in case: 2348 ;; Shouldn't be invoked if not in allout allout-mode, but just in case:
2349 nil 2349 nil