[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 05/56: (crisp-last-last-command): Renamed from last-last-command
From: |
Luke Lee |
Subject: |
[elpa] 05/56: (crisp-last-last-command): Renamed from last-last-command and defvar added. |
Date: |
Thu, 28 Aug 2014 02:21:38 +0000 |
lukelee pushed a commit to branch master
in repository elpa.
commit 7726440401facae8610b1d4dc7ca9112efe22768
Author: Richard M. Stallman <address@hidden>
Date: Tue May 20 18:49:06 1997 +0000
(crisp-last-last-command): Renamed from last-last-command and defvar added.
---
lisp/emulation/crisp.el | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/lisp/emulation/crisp.el b/lisp/emulation/crisp.el
index b530265..c67971a 100644
--- a/lisp/emulation/crisp.el
+++ b/lisp/emulation/crisp.el
@@ -88,9 +88,12 @@ does not load Scroll All.")
(defvar crisp-load-hook nil
"Hooks to run after loadint the CRiSP emulator package.")
-(defvar crisp-version "crisp.el release 1.1/$Revision: 1.3 $"
+(defvar crisp-version "crisp.el release 1.1/$Revision: 1.4 $"
"The release number and RCS version for the CRiSP emulator.")
+(defvar crisp-last-last-command nil
+ "The command *before* the last command.")
+
(if (string-match "XEmacs\\Lucid" emacs-version)
(add-minor-mode 'crisp-mode-enabled crisp-mode-modeline-string)
(or (assq 'crisp-mode-enabled minor-mode-alist)
@@ -177,13 +180,14 @@ consecutive use moves point to beginning of the screen.
Third
consecutive use moves point to the beginning of the buffer."
(interactive nil)
(cond
- ((and (eq last-command 'crisp-home) (eq last-last-command 'crisp-home))
+ ((and (eq last-command 'crisp-home)
+ (eq crisp-last-last-command 'crisp-home))
(goto-char (point-min)))
((eq last-command 'crisp-home)
(move-to-window-line 0))
(t
(beginning-of-line)))
- (setq last-last-command last-command))
+ (setq crisp-last-last-command last-command))
(defun crisp-end ()
"\"End\" point, the way CRiSP would do it.
@@ -192,14 +196,14 @@ consecutive use moves point to the end of the screen.
Third
consecutive use moves point to the end of the buffer."
(interactive nil)
(cond
- ((and (eq last-command 'crisp-end) (eq last-last-command 'crisp-end))
+ ((and (eq last-command 'crisp-end) (eq crisp-last-last-command 'crisp-end))
(goto-char (point-max)))
((eq last-command 'crisp-end)
(move-to-window-line -1)
(end-of-line))
(t
(end-of-line)))
- (setq last-last-command last-command))
+ (setq crisp-last-last-command last-command))
;; Now enable the mode
- [elpa] 40/56: Add 2011 to FSF/AIST copyright years., (continued)
- [elpa] 40/56: Add 2011 to FSF/AIST copyright years., Luke Lee, 2014/08/27
- [elpa] 39/56: Remove leading `*' from docs of some defcustoms etc., Luke Lee, 2014/08/27
- [elpa] 42/56: Refill some copyright headers., Luke Lee, 2014/08/27
- [elpa] 37/56: * emulation/crisp.el (crisp-mode-map): Move initialization into declaration. (crisp-mode): Use define-minor-mode., Luke Lee, 2014/08/27
- [elpa] 41/56: Nuke arch-tags., Luke Lee, 2014/08/27
- [elpa] 47/56: Add 2012 to FSF copyright years for Emacs files, Luke Lee, 2014/08/27
- [elpa] 50/56: Replace version 24.2 with 24.3 where appropriate (hopefully), Luke Lee, 2014/08/27
- [elpa] 43/56: Convert consecutive FSF copyright years to ranges., Luke Lee, 2014/08/27
- [elpa] 49/56: Reduce use of (require 'cl). * admin/bzrmerge.el: Use cl-lib. * leim/quail/hangul.el: Don't require CL. * leim/quail/ipa.el: Use cl-lib. * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el: * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el: * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el: * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el: * international/quail.el, info-xref.el, imenu.el, image-mode.el: * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el: * battery.el, avoid.el, abbrev.el: Use cl-lib. * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el: * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el: * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el: * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el: * calculator.el, autorevert.el, apropos.el: Don't require CL. * emacs-bytecomp.el (byte-recompile-directory, display-call-tree) (byte-compile-unfold-bcf, byte-compile-check-variable): * emacs-byte-opt.el (byte-compile-trueconstp) (byte-compile-nilconstp): * emacs-autoload.el (make-autoload): Use pcase. * face-remap.el (text-scale-adjust): Simplify pcase patterns., Luke Lee, 2014/08/27
- [elpa] 51/56: Aliases to defcustoms must come before the defcustom., Luke Lee, 2014/08/27
- [elpa] 05/56: (crisp-last-last-command): Renamed from last-last-command and defvar added.,
Luke Lee <=
- [elpa] 01/56: Initial revision, Luke Lee, 2014/08/27
- [elpa] 04/56: (crisp-load-scroll-all): Renamed from ...-lock. (crisp-mode): Use scroll-all... not scroll-lock..., Luke Lee, 2014/08/27
- [elpa] 03/56: Install the proper version., Luke Lee, 2014/08/27
- [elpa] 06/56: (crisp-mode): Add autoload cookie., Luke Lee, 2014/08/27
- [elpa] 07/56: Customized., Luke Lee, 2014/08/27
- [elpa] 10/56: (crisp-mark-line): Greatly simplified., Luke Lee, 2014/08/27
- [elpa] 11/56: Fix header comments., Luke Lee, 2014/08/27
- [elpa] 09/56: Don't require cl. (crisp-override-meta-x): Doc fix. (crisp-last-last-command): Doc fix. (mark-something): Function deleted. (crisp-mark-line): Avoid using mark-something. (crisp-region-active): Renamed from region-active. (crisp-set-clipboard): Renamed from copy-primary-selection. (crisp-kill-region): Renamed from kill-primary-selection. (crisp-yank-clipboard): Renamed from yank-clipboard-selection., Luke Lee, 2014/08/27
- [elpa] 12/56: (crisp-mode-map): Don't inherit global-map. Enter it on minor-mode-map-alist. (crisp-mode): Re-named from `crsip-mode-enabled'. Users changed. Autoload. Add custom setter. (crisp-mark-line): Doc fix. (crisp-mode): Autoload. Re-write not to frob keymaps directly. (crisp-mode-hook): Define., Luke Lee, 2014/08/27
- [elpa] 13/56: (crisp-submit-bug-report): Function deleted. Binding deleted also., Luke Lee, 2014/08/27