* lisp/emacs-lisp/lisp-mnt.el (lm-version): Don't burp in a non-file buffer.
This commit is contained in:
parent
23bb07e05d
commit
5e41a51e5c
2 changed files with 10 additions and 4 deletions
|
@ -1,9 +1,13 @@
|
|||
2015-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* emacs-lisp/lisp-mnt.el (lm-version): Don't burp in a non-file buffer.
|
||||
|
||||
2015-04-01 Alan Mackenzie <acm@muc.de>
|
||||
|
||||
Fix the CC Mode fixes from 2015-03-30. Fixes debbugs#20240.
|
||||
|
||||
* progmodes/cc-mode.el (c-extend-after-change-region): Widen
|
||||
before applying text properties.
|
||||
* progmodes/cc-mode.el (c-extend-after-change-region):
|
||||
Widen before applying text properties.
|
||||
* progmodes/cc-langs.el (c-before-font-lock-functions): Update an
|
||||
entry to a new function name.
|
||||
|
||||
|
|
|
@ -436,8 +436,10 @@ This can be found in an RCS or SCCS header."
|
|||
;; Look for an SCCS header
|
||||
((re-search-forward
|
||||
(concat
|
||||
(regexp-quote "@(#)")
|
||||
(regexp-quote (file-name-nondirectory (buffer-file-name)))
|
||||
"@(#)"
|
||||
(if buffer-file-name
|
||||
(regexp-quote (file-name-nondirectory buffer-file-name))
|
||||
"[^\t\n]*")
|
||||
"\t\\([012345679.]*\\)")
|
||||
header-max t)
|
||||
(match-string-no-properties 1)))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue