[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master e18bbf0 172/433: (mmm-display-insertion-key): Prevented (n
From: |
Dmitry Gutov |
Subject: |
[elpa] master e18bbf0 172/433: (mmm-display-insertion-key): Prevented (nthcdr -1 ...); breaks in XEmacs. |
Date: |
Thu, 15 Mar 2018 19:43:56 -0400 (EDT) |
branch: master
commit e18bbf08464c6ededd92f3d095a825c13139ccaa
Author: mas <mas>
Commit: mas <mas>
(mmm-display-insertion-key): Prevented (nthcdr -1 ...); breaks in XEmacs.
---
mmm-cmds.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mmm-cmds.el b/mmm-cmds.el
index 0a97b97..9de05b9 100644
--- a/mmm-cmds.el
+++ b/mmm-cmds.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-cmds.el,v 1.11 2000/08/24 22:52:58 mas Exp $
+;; Version: $Id: mmm-cmds.el,v 1.12 2000/09/05 07:22:13 mas Exp $
;;{{{ GPL
@@ -323,7 +323,7 @@ is a symbol naming the insertion."
;; This gets us a dotted list, because of the way insertion
;; keys are specified.
(key (append mmm-insert-modifiers (car spec)))
- (lastkey (nthcdr (1- (safe-length key)) key)))
+ (lastkey (nthcdr (max (1- (safe-length key)) 0) key)))
;; Now we make it a true list
(if (consp key)
(setcdr lastkey (list (cdr lastkey)))
- [elpa] master 1834f4b 133/433: (mmm-classes-alist): Updated docstring for new offset values and, (continued)
- [elpa] master 1834f4b 133/433: (mmm-classes-alist): Updated docstring for new offset values and, Dmitry Gutov, 2018/03/15
- [elpa] master 5b4b568 137/433: (mmm-get-class-spec): Implemented autoloaded submode classes., Dmitry Gutov, 2018/03/15
- [elpa] master 20deb97 138/433: # Updated, Dmitry Gutov, 2018/03/15
- [elpa] master ff7d773 136/433: (mmm-add-group): Made subclasses of a group private., Dmitry Gutov, 2018/03/15
- [elpa] master a9c086a 130/433: (mmm-ify, mmm-match-region, mmm-match->point): Added new values for, Dmitry Gutov, 2018/03/15
- [elpa] master 369d7e3 144/433: (mmm-ensure-fboundp): Created function., Dmitry Gutov, 2018/03/15
- [elpa] master 74d61d7 146/433: Added comments about `sgml-parent-document'., Dmitry Gutov, 2018/03/15
- [elpa] master e111833 149/433: # Updated, Dmitry Gutov, 2018/03/15
- [elpa] master 6cba9ad 164/433: (mmm-save-local-variables): Added `mode-popup-menu' for XEmacs., Dmitry Gutov, 2018/03/15
- [elpa] master b7ddfb1 145/433: # Commented on improvement of here-doc class., Dmitry Gutov, 2018/03/15
- [elpa] master e18bbf0 172/433: (mmm-display-insertion-key): Prevented (nthcdr -1 ...); breaks in XEmacs.,
Dmitry Gutov <=
- [elpa] master c8e7b80 168/433: (mmm-make-region): Explicitly set keyword defaults in &rest parameter., Dmitry Gutov, 2018/03/15
- [elpa] master 6c89465 154/433: (mmm-set-font-lock-defaults): Made into a macro., Dmitry Gutov, 2018/03/15
- [elpa] master f7ab3b2 148/433: (mmm-update-mode-info): Used compatibility wrapper for font-lock defaults., Dmitry Gutov, 2018/03/15
- [elpa] master 26fe946 147/433: (mmm-set-font-lock-defaults): Added compatibility wrapper function., Dmitry Gutov, 2018/03/15
- [elpa] master 083aafe 156/433: (mmm-never-modes): Added `forms-mode'., Dmitry Gutov, 2018/03/15
- [elpa] master cad3237 159/433: # Added placeholder for rpm-sh., Dmitry Gutov, 2018/03/15
- [elpa] master 536a559 153/433: Autoloaded `mmm-ensure-fboundp'., Dmitry Gutov, 2018/03/15
- [elpa] master 106a130 166/433: # Reformatted, Dmitry Gutov, 2018/03/15
- [elpa] master bd6553b 150/433: Released 0.4.5., Dmitry Gutov, 2018/03/15
- [elpa] master 5ee051e 163/433: (mmm-update-mode-info): Added some tests for XEmacs 20 to prevent, Dmitry Gutov, 2018/03/15