diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-01-03 04:00:53 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-01-03 04:00:53 +0000 |
commit | 958a2b4c49b5f39a1eee119f311bb0995f7d29e1 (patch) | |
tree | 21d48b7ede8f526c7839be944aa9e6a1ed18fa90 /lisp/progmodes/vhdl-mode.el | |
parent | 4c282a278309d213d3e3971829daceef8752cbed (diff) | |
download | emacs-958a2b4c49b5f39a1eee119f311bb0995f7d29e1.tar.gz |
(vhdl-current-line): Don't hardcode point-min==1.
Diffstat (limited to 'lisp/progmodes/vhdl-mode.el')
-rw-r--r-- | lisp/progmodes/vhdl-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 61c75ee60cd..a4e493d9112 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el @@ -12164,7 +12164,7 @@ options vhdl-upper-case-{keywords,types,attributes,enum-values}." (widen) (save-excursion (beginning-of-line) - (1+ (count-lines 1 (point)))))) + (1+ (count-lines (point-min) (point)))))) (defun vhdl-line-kill-entire (&optional arg) "Delete entire line." |