emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99380: (tab-always-indent): Fix cust


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99380: (tab-always-indent): Fix custom-type.
Date: Tue, 19 Jan 2010 19:46:23 -0800
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 99380
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2010-01-19 19:46:23 -0800
message:
  (tab-always-indent): Fix custom-type.
modified:
  lisp/ChangeLog
  lisp/indent.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-01-19 22:10:19 +0000
+++ b/lisp/ChangeLog    2010-01-20 03:46:23 +0000
@@ -1,3 +1,7 @@
+2010-01-20  Glenn Morris  <address@hidden>
+
+       * indent.el (tab-always-indent): Fix custom-type.
+
 2010-01-19  Alan Mackenzie  <address@hidden>
 
        * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty

=== modified file 'lisp/indent.el'
--- a/lisp/indent.el    2010-01-13 08:35:10 +0000
+++ b/lisp/indent.el    2010-01-20 03:46:23 +0000
@@ -1,7 +1,7 @@
 ;;; indent.el --- indentation commands for Emacs
 
-;; Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+;; Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+;;   2008, 2009, 2010  Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 
@@ -55,7 +55,11 @@
 Some programming language modes have their own variable to control this,
 e.g., `c-tab-always-indent', and do not respect this variable."
   :group 'indent
-  :type '(choice (const nil) (const t) (const always)))
+  :type '(choice
+         (const :tag "Always indent" t)
+         (const :tag "Indent if inside indentation, else TAB" nil)
+         (const :tag "Indent, or if already indented complete" complete)))
+
 
 (defun indent-according-to-mode ()
   "Indent line in proper way for current major mode.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]