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)


_______________________________________________
Emacs-diffs mailing list
Emacs-diffs@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to