[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/make-mode.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/make-mode.el |
Date: |
Thu, 08 Sep 2005 21:25:00 -0400 |
Index: emacs/lisp/progmodes/make-mode.el
diff -c emacs/lisp/progmodes/make-mode.el:1.106
emacs/lisp/progmodes/make-mode.el:1.107
*** emacs/lisp/progmodes/make-mode.el:1.106 Mon Aug 1 08:37:48 2005
--- emacs/lisp/progmodes/make-mode.el Fri Sep 9 01:24:59 2005
***************
*** 1833,1838 ****
--- 1833,1842 ----
;; Don't keep looking across a blank line or comment.
(looking-at "$\\|#")
(not (zerop (forward-line -1))))))
+ ;; Remove leading and trailing whitespace.
+ (when found
+ (setq found (replace-regexp-in-string "[ \t]+\\'" "" found))
+ (setq found (replace-regexp-in-string "\\`[ \t]+" "" found)))
found)))
(provide 'make-mode)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/make-mode.el,
Richard M . Stallman <=