diff options
author | Leo Liu <sdl.web@gmail.com> | 2014-06-26 07:53:37 +0800 |
---|---|---|
committer | Leo Liu <sdl.web@gmail.com> | 2014-06-26 07:53:37 +0800 |
commit | 83d208a5dd293caae48beb9d36dd45529375631a (patch) | |
tree | e8075fee7dc607ebfa34779edf3e929c8fca6b63 /lisp/progmodes/asm-mode.el | |
parent | 30a42a5bedfbfaab72da862826f43291fe771ce8 (diff) | |
download | emacs-83d208a5dd293caae48beb9d36dd45529375631a.tar.gz |
Fix a few packages to work with nil tab-stop-list
* indent.el (indent-accumulate-tab-stops): New function.
* textmodes/picture.el (picture-set-tab-stops):
* ruler-mode.el (ruler-mode-mouse-add-tab-stop)
(ruler-mode-ruler): Fix to work with nil tab-stop-list.
* progmodes/asm-mode.el (asm-calculate-indentation): Use
indent-next-tab-stop.
Diffstat (limited to 'lisp/progmodes/asm-mode.el')
-rw-r--r-- | lisp/progmodes/asm-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index ab7612082d5..3532b4a03f1 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el @@ -172,7 +172,7 @@ Special commands: ;; Simple `;' comments go to the comment-column. (and (looking-at "\\s<\\(\\S<\\|\\'\\)") comment-column) ;; The rest goes at the first tab stop. - (or (car tab-stop-list) tab-width))) + (or (indent-next-tab-stop 0)))) (defun asm-colon () "Insert a colon; if it follows a label, delete the label's indentation." |