diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-10-12 02:42:58 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-10-12 02:42:58 +0000 |
commit | 7a8f27dbe6b3bbc0cde23a04b81ce9347fb9dfaa (patch) | |
tree | 110b7a3f0e366f9064069bd3a901d2fc81544fff /lisp/progmodes/cplus-md.el | |
parent | 5d137be3bda08ac9851785309f59455c314b2493 (diff) | |
download | emacs-7a8f27dbe6b3bbc0cde23a04b81ce9347fb9dfaa.tar.gz emacs-7a8f27dbe6b3bbc0cde23a04b81ce9347fb9dfaa.tar.bz2 emacs-7a8f27dbe6b3bbc0cde23a04b81ce9347fb9dfaa.zip |
Comment change.
Diffstat (limited to 'lisp/progmodes/cplus-md.el')
-rw-r--r-- | lisp/progmodes/cplus-md.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cplus-md.el b/lisp/progmodes/cplus-md.el index 555f5a44d18..9848adcf40b 100644 --- a/lisp/progmodes/cplus-md.el +++ b/lisp/progmodes/cplus-md.el @@ -353,11 +353,11 @@ no args if that value is non-nil." (save-excursion (skip-chars-backward " \t") (max - ;; leave at least one space on non-empty lines. + ;; Leave at least one space on non-empty lines. (if (zerop (current-column)) 0 (1+ (current-column))) (let ((cur-pt (point))) (beginning-of-line 0) - ;; If previous line had a comment, use it's indent + ;; If previous line had a comment, use its indentation. (if (re-search-forward comment-start-skip cur-pt t) (progn (goto-char (match-beginning 0)) |