diff options
author | Bastien Guerry <bzg@altern.org> | 2014-01-15 09:21:59 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-01-15 09:21:59 +0100 |
commit | 0a8fe04a9d832c228c048c4775541b59efeef2ae (patch) | |
tree | 536dd3c90670b48170346a4d4071ff8322b1131b | |
parent | 947c3f5c2ad10c262904802aad81ae4d622ccfe5 (diff) | |
parent | 723306d6e7797279448fd9b1cabc4beba8cc897b (diff) |
Merge branch 'maint' of orgmode.org:org-mode into maint
-rw-r--r-- | lisp/org.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/org.el b/lisp/org.el index d0207e85d..b8dfda0e5 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -20374,10 +20374,11 @@ This command does many different things, depending on context: (defun org-mode-restart () "Restart Org-mode, to scan again for special lines. -Also updates the keyword regular expressions." +Also updates the keyword regular expressions and file variables." (interactive) - (org-mode) - (message "Org-mode restarted")) + (funcall major-mode) + (hack-local-variables) + (message "%s restarted" major-mode)) (defun org-kill-note-or-show-branches () "If this is a Note buffer, abort storing the note. Else call `show-branches'." |