+2007-04-21 Martin Rudalics <rudalics@gmx.at>
+
+ * progmodes/cc-mode.el
+ (c-remove-any-local-eval-or-mode-variables): Use delete-region
+ instead of kill-line.
+
2007-04-21 Alan Mackenzie <acm@muc.de>
* progmodes/cc-cmds.el (c-electric-slash): Replace wrong use of
"$")
nil t)
(beginning-of-line)
- (kill-line 1)))
+ (delete-region (point) (progn (end-of-line) (point)))))
;; Delete the first line, if we've got one, in case it contains a mode spec.
(unless (and lv-point
(forward-line 0)
(bobp)))
(goto-char (point-min))
- (unless (eobp)
- (kill-line 1)))))
+ (delete-region (point) (progn (end-of-line) (point))))))
(defun c-postprocess-file-styles ()
"Function that post processes relevant file local variables in CC Mode.